public class ZkIndexSchemaReader extends Object implements OnReconnect
| Constructor and Description | 
|---|
ZkIndexSchemaReader(ManagedIndexSchemaFactory managedIndexSchemaFactory)  | 
| 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()  | 
Object | 
getSchemaUpdateLock()  | 
ManagedIndexSchema | 
refreshSchemaFromZk(int expectedZkVersion)  | 
public ZkIndexSchemaReader(ManagedIndexSchemaFactory managedIndexSchemaFactory)
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 OnReconnectCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.