Class MetaStoreReader

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

    public class MetaStoreReader
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaStoreReader​(com.linkedin.d2.balancer.D2Client d2Client, java.lang.String clusterDiscoveryD2ServiceName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      long getHeartbeat​(java.lang.String storeName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetaStoreReader

        public MetaStoreReader​(com.linkedin.d2.balancer.D2Client d2Client,
                               java.lang.String clusterDiscoveryD2ServiceName)
    • Method Detail

      • getHeartbeat

        public long getHeartbeat​(java.lang.String storeName)
      • close

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