StorageService: Allow querying the view build status
Signed-off-by: Duarte Nunes <duarte@scylladb.com> Message-Id: <20180327002342.11494-1-duarte@scylladb.com>
This commit is contained in:
parent
4e4589ba6f
commit
55abaa1bc8
@ -1095,6 +1095,12 @@ public class StorageService extends MetricsMBean implements StorageServiceMBean,
|
||||
return client.getListStrValue("/storage_service/keyspaces", queryParams);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> getViewBuildStatuses(String keyspace, String view) {
|
||||
log(" getViewBuildStatuses()");
|
||||
return client.getMapStrValue("storage_service/view_build_statuses/" + keyspace + "/" + view);
|
||||
}
|
||||
|
||||
/**
|
||||
* Change endpointsnitch class and dynamic-ness (and dynamic attributes) at
|
||||
* runtime
|
||||
|
@ -540,6 +540,8 @@ public interface StorageServiceMBean extends NotificationEmitter {
|
||||
|
||||
public List<String> getNonSystemKeyspaces();
|
||||
|
||||
public Map<String, String> getViewBuildStatuses(String keyspace, String view);
|
||||
|
||||
public List<String> getNonLocalStrategyKeyspaces();
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user