public class MockZkStateReader extends ZkStateReader
ZkStateReader.ConfigData
ALIASES, AUTO_ADD_REPLICAS, BASE_URL_PROP, CLUSTER_PROPS, CLUSTER_STATE, clusterState, COLLECTION_PROP, COLLECTIONS_ZKNODE, CONFIGNAME_PROP, CONFIGS_ZKNODE, CORE_NAME_PROP, CORE_NODE_NAME_PROP, ELECTION_NODE, ELECTION_NODE_PROP, KNOWN_CLUSTER_PROPS, LEADER_ELECT_ZKNODE, LEADER_PROP, LEGACY_CLOUD, LIVE_NODES_ZKNODE, MAX_AT_ONCE_PROP, MAX_SHARDS_PER_NODE, MAX_WAIT_SECONDS_PROP, NODE_NAME_PROP, NUM_SHARDS_PROP, PROPERTY_PROP, PROPERTY_VALUE_PROP, REJOIN_AT_HEAD_PROP, REPLICA_PROP, REPLICATION_FACTOR, ROLES, ROLES_PROP, SHARD_ID_PROP, SHARD_LEADERS_ZKNODE, SHARD_PARENT_PROP, SHARD_RANGE_PROP, SHARD_STATE_PROP, SOLR_SECURITY_CONF_PATH, STATE_PROP, URL_SCHEME
Constructor and Description |
---|
MockZkStateReader(ClusterState clusterState,
Set<String> collections) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllCollections() |
addCollectionWatch, close, compareStateVersions, createClusterStateWatchersAndUpdate, getAliases, getBaseUrlForNodeName, getClusterProps, getClusterState, getCollectionLive, getCollectionPath, getConfigManager, getLeader, getLeaderRetry, getLeaderRetry, getLeaderUrl, getReplicaProps, getReplicaProps, getReplicaProps, getSecurityProps, getShardLeadersElectPath, getShardLeadersPath, getUpdateLock, getZkClient, readConfigName, removeZKWatch, setClusterProperty, updateAliases, updateClusterState, updateLiveNodes
public MockZkStateReader(ClusterState clusterState, Set<String> collections)
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.