public interface ServiceCache<T> extends Closeable, 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
|
addListener, addListener, removeListenerList<ServiceInstance<T>> getInstances()
getInstances in interface InstanceProvider<T>Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.