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.Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getCacheSize() |
Map<String,Object> |
getSysProps(String node,
Collection<String> tags) |
boolean |
isClosed() |
boolean |
isRunning() |
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-2019 Apache Software Foundation. All Rights Reserved.