public class Overseer extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static String |
DELETECORE |
static String |
QUEUE_OPERATION |
static String |
REMOVECOLLECTION |
static String |
REMOVESHARD |
| Constructor and Description |
|---|
Overseer(ShardHandler shardHandler,
UpdateShardHandler updateShardHandler,
String adminPath,
ZkStateReader reader,
ZkController zkController,
ConfigSolr config) |
| 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()
For tests.
|
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 Overseer(ShardHandler shardHandler, UpdateShardHandler updateShardHandler, String adminPath, ZkStateReader reader, ZkController zkController, ConfigSolr config) 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()
close in interface Closeableclose in interface AutoCloseablepublic static DistributedQueue getInQueue(SolrZkClient zkClient)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.