public class NodesSysPropsCacher extends Object implements SolrCloseable
ZkStateReader.DEFAULT_SHARD_PREFERENCES
of
ZkStateReader.CLUSTER_PROPS
.
If that key does not present then this cacher will do nothing.
The cache will be refresh whenever /live_nodes get changed.Constructor and Description |
---|
NodesSysPropsCacher(NodeStateProvider nodeStateProvider,
String currentNode,
ZkStateReader stateReader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getCacheSize() |
Map<String,Object> |
getSysProps(String node,
Collection<String> tags) |
boolean |
isClosed() |
boolean |
isRunning() |
public NodesSysPropsCacher(NodeStateProvider nodeStateProvider, String currentNode, ZkStateReader stateReader)
public int getCacheSize()
public boolean isRunning()
public boolean isClosed()
isClosed
in interface SolrCloseable
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.