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