public class ZkIndexSchemaReader extends Object implements OnReconnect
Constructor and Description |
---|
ZkIndexSchemaReader(ManagedIndexSchemaFactory managedIndexSchemaFactory,
SolrCore solrCore) |
Modifier and Type | Method and Description |
---|---|
void |
command()
Called after a ZooKeeper session expiration occurs; need to re-create the watcher and update the current
schema from ZooKeeper.
|
void |
createSchemaWatcher() |
boolean |
equals(Object other) |
Object |
getSchemaUpdateLock() |
String |
getUniqueCoreId() |
int |
hashCode() |
ManagedIndexSchema |
refreshSchemaFromZk(int expectedZkVersion) |
String |
toString() |
public ZkIndexSchemaReader(ManagedIndexSchemaFactory managedIndexSchemaFactory, SolrCore solrCore)
public Object getSchemaUpdateLock()
public void createSchemaWatcher()
public ManagedIndexSchema refreshSchemaFromZk(int expectedZkVersion) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperException
InterruptedException
public void command()
command
in interface OnReconnect
public String getUniqueCoreId()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.