Class SharedHelixReadOnlyZKSharedSystemStoreRepository

  • All Implemented Interfaces:
    ReadOnlyStoreRepository, VeniceResource, java.io.Closeable, java.lang.AutoCloseable

    public class SharedHelixReadOnlyZKSharedSystemStoreRepository
    extends HelixReadOnlyZKSharedSystemStoreRepository
    implements java.io.Closeable
    This class is intended to only be used in Controller, which is sharing one instance across all the clusters. Since the leader->standby transition for a given cluster will clear all the resources, this implementation will do nothing in clear() since it will be shared across all the clusters, whose leader are in the same Controller node.
    • Constructor Detail

      • SharedHelixReadOnlyZKSharedSystemStoreRepository

        public SharedHelixReadOnlyZKSharedSystemStoreRepository​(org.apache.helix.zookeeper.impl.client.ZkClient zkClient,
                                                                HelixAdapterSerializer compositeSerializer,
                                                                java.lang.String systemStoreClusterName)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException