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.KeeperExceptionInterruptedExceptionpublic void command()
command in interface OnReconnectpublic String getUniqueCoreId()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.