Modifier and Type | Class and Description |
---|---|
protected class |
OverseerCollectionProcessor.Runner |
Modifier and Type | Field and Description |
---|---|
static String |
ASYNC |
static String |
COLL_CONF |
static String |
COLL_PROP_PREFIX |
static Map<String,Object> |
COLL_PROPS |
static String |
CREATE_NODE_SET |
static String |
CREATEALIAS |
static String |
CREATECOLLECTION |
static String |
CREATESHARD |
static String |
DELETEALIAS |
static String |
DELETECOLLECTION |
static String |
DELETEREPLICA |
static String |
DELETESHARD |
static Set<String> |
KNOWN_CLUSTER_PROPS |
static String |
MAX_SHARDS_PER_NODE |
int |
maxParallelThreads |
static String |
MIGRATE |
static String |
NUM_SLICES |
static String |
RELOADCOLLECTION |
static String |
REPLICATION_FACTOR |
static String |
REQUESTID |
static String |
ROUTER |
static String |
SHARDS_PROP |
static String |
SPLITSHARD |
ExecutorService |
tpe |
Modifier | Constructor and Description |
---|---|
protected |
OverseerCollectionProcessor(ZkStateReader zkStateReader,
String myId,
ShardHandlerFactory shardHandlerFactory,
String adminPath,
Overseer.Stats stats,
DistributedQueue workQueue,
DistributedMap runningMap,
DistributedMap completedMap,
DistributedMap failureMap) |
|
OverseerCollectionProcessor(ZkStateReader zkStateReader,
String myId,
ShardHandler shardHandler,
String adminPath,
Overseer.Stats stats) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.solr.cloud.Overseer.LeaderStatus |
amILeader() |
void |
close() |
static String |
getLeaderId(SolrZkClient zkClient) |
static String |
getLeaderNode(SolrZkClient zkClient) |
static List<String> |
getSortedElectionNodes(SolrZkClient zk) |
static List<String> |
getSortedOverseerNodeNames(SolrZkClient zk) |
boolean |
isClosed() |
protected SolrResponse |
processMessage(ZkNodeProps message,
String operation) |
void |
run() |
public static final String NUM_SLICES
public static final String REPLICATION_FACTOR
public static final String MAX_SHARDS_PER_NODE
public static final String CREATE_NODE_SET
public static final String DELETECOLLECTION
public static final String CREATECOLLECTION
public static final String RELOADCOLLECTION
public static final String CREATEALIAS
public static final String DELETEALIAS
public static final String SPLITSHARD
public static final String DELETESHARD
public static final String ROUTER
public static final String SHARDS_PROP
public static final String ASYNC
public static final String CREATESHARD
public static final String DELETEREPLICA
public static final String MIGRATE
public static final String REQUESTID
public static final String COLL_CONF
public static final String COLL_PROP_PREFIX
public int maxParallelThreads
public ExecutorService tpe
public OverseerCollectionProcessor(ZkStateReader zkStateReader, String myId, ShardHandler shardHandler, String adminPath, Overseer.Stats stats)
protected OverseerCollectionProcessor(ZkStateReader zkStateReader, String myId, ShardHandlerFactory shardHandlerFactory, String adminPath, Overseer.Stats stats, DistributedQueue workQueue, DistributedMap runningMap, DistributedMap completedMap, DistributedMap failureMap)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public static List<String> getSortedOverseerNodeNames(SolrZkClient zk) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
public static List<String> getSortedElectionNodes(SolrZkClient zk) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
public static String getLeaderNode(SolrZkClient zkClient) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
public static String getLeaderId(SolrZkClient zkClient) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
protected org.apache.solr.cloud.Overseer.LeaderStatus amILeader()
protected SolrResponse processMessage(ZkNodeProps message, String operation)
public boolean isClosed()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.