public class SnapshotClusterStateProvider extends Object implements ClusterStateProvider
ClusterStateProvider.| Constructor and Description |
|---|
SnapshotClusterStateProvider(ClusterStateProvider other)
Deprecated.
|
SnapshotClusterStateProvider(Map<String,Object> snapshot)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
connect()
Deprecated.
|
Map<String,String> |
getAliasProperties(String alias)
Deprecated.
|
Map<String,Object> |
getClusterProperties()
Deprecated.
|
ClusterState |
getClusterState()
Deprecated.
|
Set<String> |
getLiveNodes()
Deprecated.
|
String |
getPolicyNameByCollection(String coll)
Deprecated.
|
Map<String,Object> |
getSnapshot()
Deprecated.
|
ClusterState.CollectionRef |
getState(String collection)
Deprecated.
|
List<String> |
resolveAlias(String alias)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClusterProperty, getClusterProperty, getCollection, isRoutedAlias, resolveSimpleAliasisClosedpublic SnapshotClusterStateProvider(ClusterStateProvider other) throws Exception
Exceptionpublic ClusterState.CollectionRef getState(String collection)
getState in interface ClusterStateProviderpublic Set<String> getLiveNodes()
getLiveNodes in interface ClusterStateProviderpublic List<String> resolveAlias(String alias)
resolveAlias in interface ClusterStateProviderpublic Map<String,String> getAliasProperties(String alias)
getAliasProperties in interface ClusterStateProviderpublic ClusterState getClusterState() throws IOException
getClusterState in interface ClusterStateProviderIOExceptionpublic Map<String,Object> getClusterProperties()
getClusterProperties in interface ClusterStateProviderpublic String getPolicyNameByCollection(String coll)
getPolicyNameByCollection in interface ClusterStateProviderpublic void connect()
connect in interface ClusterStateProviderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.