public abstract class AbstractCluster<T extends GeoServiceDescriptor,E extends GeoServiceController<T>> extends Object
| Constructor and Description |
|---|
AbstractCluster(long objectsTTL,
ISModule retriever,
String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<E> |
getActualCluster() |
protected abstract Comparator<E> |
getComparator() |
E |
getControllerByHostName(String hostname) |
E |
getDefaultController() |
protected ArrayList<E> |
getLiveControllerCollection() |
void |
invalidate() |
void |
invalidateAll() |
protected abstract E |
translate(org.gcube.common.resources.gcore.ServiceEndpoint e) |
public ArrayList<E> getActualCluster() throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionprotected ArrayList<E> getLiveControllerCollection() throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionprotected abstract E translate(org.gcube.common.resources.gcore.ServiceEndpoint e) throws InvalidServiceEndpointException
InvalidServiceEndpointExceptionpublic void invalidate()
public void invalidateAll()
public E getDefaultController() throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionprotected abstract Comparator<E> getComparator()
public E getControllerByHostName(String hostname) throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionCopyright © 2020. All Rights Reserved.