Class HttpRemoteStore

java.lang.Object
io.airlift.discovery.store.HttpRemoteStore
All Implemented Interfaces:
RemoteStore

public class HttpRemoteStore extends Object implements RemoteStore
  • Constructor Details

    • HttpRemoteStore

      @Inject public HttpRemoteStore(String name, io.airlift.node.NodeInfo node, io.airlift.discovery.client.ServiceSelector selector, StoreConfig config, io.airlift.http.client.HttpClient httpClient, org.weakref.jmx.MBeanExporter mbeanExporter)
  • Method Details

    • start

      @PostConstruct public void start()
    • shutdown

      @PreDestroy public void shutdown()
    • getLastRemoteServerRefreshTimestamp

      public long getLastRemoteServerRefreshTimestamp()
    • put

      public void put(Entry entry)
      Specified by:
      put in interface RemoteStore