Package io.airlift.discovery.store
Class HttpRemoteStore
java.lang.Object
io.airlift.discovery.store.HttpRemoteStore
- All Implemented Interfaces:
RemoteStore
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRemoteStore(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 Summary
-
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
- Specified by:
putin interfaceRemoteStore
-