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.| 构造器和说明 |
|---|
NodesSysPropsCacher(NodeStateProvider nodeStateProvider,
String currentNode,
ZkStateReader stateReader) |
public NodesSysPropsCacher(NodeStateProvider nodeStateProvider, String currentNode, ZkStateReader stateReader)
public int getCacheSize()
public boolean isRunning()
public boolean isClosed()
isClosed 在接口中 SolrCloseablepublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.