public class Overseer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Overseer.FailedOp |
static class |
Overseer.Stat |
static class |
Overseer.Stats
Used to hold statistics about overseer operations.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_ROUTING_RULE |
static String |
CREATESHARD |
static String |
DELETECORE |
static String |
QUEUE_OPERATION |
static String |
QUIT |
static String |
REMOVE_ROUTING_RULE |
static String |
REMOVECOLLECTION |
static String |
REMOVESHARD |
static String |
STATE |
static int |
STATE_UPDATE_DELAY |
static String |
UPDATESHARDSTATE |
| Constructor and Description |
|---|
Overseer(ShardHandler shardHandler,
String adminPath,
ZkStateReader reader,
ZkController zkController) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static DistributedQueue |
getInQueue(SolrZkClient zkClient)
Get queue that can be used to send messages to Overseer.
|
org.apache.solr.cloud.Overseer.OverseerThread |
getUpdaterThread() |
ZkStateReader |
getZkStateReader() |
static boolean |
isLegacy(Map clusterProps) |
void |
start(String id) |
public static final String QUEUE_OPERATION
public static final String DELETECORE
public static final String REMOVECOLLECTION
public static final String REMOVESHARD
public static final String ADD_ROUTING_RULE
public static final String REMOVE_ROUTING_RULE
public static final String STATE
public static final String QUIT
public static final int STATE_UPDATE_DELAY
public static final String CREATESHARD
public static final String UPDATESHARDSTATE
public Overseer(ShardHandler shardHandler, String adminPath, ZkStateReader reader, ZkController zkController) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic void start(String id)
public org.apache.solr.cloud.Overseer.OverseerThread getUpdaterThread()
public void close()
public static DistributedQueue getInQueue(SolrZkClient zkClient)
public static boolean isLegacy(Map clusterProps)
public ZkStateReader getZkStateReader()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.