public class DelegatingNodeStateProvider extends Object implements NodeStateProvider
NodeStateProvider
.Constructor and Description |
---|
DelegatingNodeStateProvider(NodeStateProvider delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Map<String,Object> |
getNodeValues(String node,
Collection<String> tags)
Get the value of each tag for a given node
|
Map<String,Map<String,List<ReplicaInfo>>> |
getReplicaInfo(String node,
Collection<String> keys)
Get the details of each replica in a node.
|
boolean |
isClosed() |
public DelegatingNodeStateProvider(NodeStateProvider delegate)
public Map<String,Object> getNodeValues(String node, Collection<String> tags)
NodeStateProvider
getNodeValues
in interface NodeStateProvider
node
- node nametags
- tag namespublic Map<String,Map<String,List<ReplicaInfo>>> getReplicaInfo(String node, Collection<String> keys)
NodeStateProvider
The format is {collection:shard :[{replicadetails}]}.
getReplicaInfo
in interface NodeStateProvider
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public boolean isClosed()
isClosed
in interface SolrCloseable
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.