Package org.apache.solr.schema
Class ZkIndexSchemaReader.SchemaWatcher
- java.lang.Object
-
- org.apache.solr.schema.ZkIndexSchemaReader.SchemaWatcher
-
- All Implemented Interfaces:
org.apache.zookeeper.Watcher
- Enclosing class:
- ZkIndexSchemaReader
public static class ZkIndexSchemaReader.SchemaWatcher extends Object implements org.apache.zookeeper.Watcher
Watches for schema changes and triggers updates in the ZkIndexSchemaReader.
-
-
Constructor Summary
Constructors Constructor Description SchemaWatcher(ZkIndexSchemaReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
discardReaderReference()
Discard the reference to theZkIndexSchemaReader
.void
process(org.apache.zookeeper.WatchedEvent event)
-
-
-
Constructor Detail
-
SchemaWatcher
public SchemaWatcher(ZkIndexSchemaReader reader)
-
-