Class ZkIndexSchemaReader

  • All Implemented Interfaces:
    org.apache.solr.common.cloud.OnReconnect

    public class ZkIndexSchemaReader
    extends Object
    implements org.apache.solr.common.cloud.OnReconnect
    Keeps a ManagedIndexSchema up-to-date when changes are made to the serialized managed schema in ZooKeeper
    • Method Detail

      • getSchemaUpdateLock

        public Object getSchemaUpdateLock()
      • command

        public void command()
        Called after a ZooKeeper session expiration occurs; need to re-create the watcher and update the current schema from ZooKeeper.
        Specified by:
        command in interface org.apache.solr.common.cloud.OnReconnect
      • getUniqueCoreId

        public String getUniqueCoreId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object