Package org.gcube.spatial.data.gis.is
Class CachedGeoServerDescriptor
- java.lang.Object
-
- org.gcube.spatial.data.gis.is.AbstractGeoServerDescriptor
-
- org.gcube.spatial.data.gis.is.LiveGeoServerDescriptor
-
- org.gcube.spatial.data.gis.is.CachedGeoServerDescriptor
-
- All Implemented Interfaces:
Comparable<AbstractGeoServerDescriptor>
public class CachedGeoServerDescriptor extends LiveGeoServerDescriptor
-
-
Constructor Summary
Constructors Constructor Description CachedGeoServerDescriptor(String url, String user, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getDatastores(String workspace)LonggetHostedLayersCount()Set<String>getStyles()Set<String>getWorkspaces()voidinvalidateDatastoresCache()voidinvalidateHostedLayersCountCache()voidinvalidateStylesCache()voidinvalidateWorkspacesCache()voidonChangedDataStores()voidonChangedLayers()voidonChangedStyles()voidonChangedWorkspaces()-
Methods inherited from class org.gcube.spatial.data.gis.is.AbstractGeoServerDescriptor
compareTo, equals, getDataStoreManager, getManager, getPublisher, getReader, hashCode, toString
-
-
-
-
Method Detail
-
getDatastores
public Set<String> getDatastores(String workspace) throws MalformedURLException
- Overrides:
getDatastoresin classLiveGeoServerDescriptor- Throws:
MalformedURLException
-
getHostedLayersCount
public Long getHostedLayersCount() throws MalformedURLException
- Overrides:
getHostedLayersCountin classLiveGeoServerDescriptor- Throws:
MalformedURLException
-
getStyles
public Set<String> getStyles() throws MalformedURLException
- Overrides:
getStylesin classLiveGeoServerDescriptor- Throws:
MalformedURLException
-
getWorkspaces
public Set<String> getWorkspaces() throws MalformedURLException
- Overrides:
getWorkspacesin classLiveGeoServerDescriptor- Throws:
MalformedURLException
-
invalidateWorkspacesCache
public void invalidateWorkspacesCache()
-
invalidateDatastoresCache
public void invalidateDatastoresCache()
-
invalidateStylesCache
public void invalidateStylesCache()
-
invalidateHostedLayersCountCache
public void invalidateHostedLayersCountCache()
-
onChangedDataStores
public void onChangedDataStores()
- Overrides:
onChangedDataStoresin classAbstractGeoServerDescriptor
-
onChangedLayers
public void onChangedLayers()
- Overrides:
onChangedLayersin classAbstractGeoServerDescriptor
-
onChangedStyles
public void onChangedStyles()
- Overrides:
onChangedStylesin classAbstractGeoServerDescriptor
-
onChangedWorkspaces
public void onChangedWorkspaces()
- Overrides:
onChangedWorkspacesin classAbstractGeoServerDescriptor
-
-