java.lang.AutoCloseable, java.io.Closeable, InstanceProvider<T>, org.apache.curator.framework.listen.Listenable<ServiceCacheListener>ServiceCacheImplpublic interface ServiceCache<T> extends java.io.Closeable, org.apache.curator.framework.listen.Listenable<ServiceCacheListener>, InstanceProvider<T>
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ServiceInstance<T>> |
getInstances() |
Return the current list of instances.
|
void |
start() |
The cache must be started before use
|
java.util.List<ServiceInstance<T>> getInstances()
getInstances in interface InstanceProvider<T>void start()
throws java.lang.Exception
java.lang.Exception - errorsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.