|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mizar.faces.javax.utils.MapCacheUtils
@Deprecated public class MapCacheUtils
There is no need for this Class to be at the Faces level. No further work should be done here. Use the more generalized Class in the MizarMetadata package.
MapCacheTools
Constructor Summary | |
---|---|
MapCacheUtils(java.lang.String user,
java.lang.String password,
java.lang.String serverUrl,
java.lang.String mcsAdminUrl,
java.lang.String adminUrl,
java.lang.String dataSource)
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
bringCacheOnline(java.lang.String cacheName)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
void |
clearAllGeomCache()
Deprecated. |
java.lang.String |
clearCache(GeometryBean bean)
Deprecated. Clears all levels of all map tiles that the table might occur in. |
java.lang.String |
clearCache(GeometryBean bean,
double[] affectedArea)
Deprecated. |
java.lang.String |
clearCache(GeometryBean bean,
oracle.spatial.geometry.JGeometry affectedArea)
Deprecated. |
java.lang.String |
clearCache(java.lang.String cacheName,
int level)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
clearCache(java.lang.String cacheName,
int[] levels)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
clearCache(java.lang.String cacheName,
int[] levels,
double[] ordinates)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
clearCache(java.lang.String cacheName,
int[] levels,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
clearCache(java.lang.String cacheName,
int level,
double[] ordinates)
Deprecated. The method interprets geometry as a point if it has a length of 2. |
java.lang.String |
clearCache(java.lang.String cacheName,
int level,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
clearGeomCache(java.lang.String themeName)
Deprecated. |
java.lang.String |
clearGeomCaches(java.util.List<UserSdoThemesBean> beans)
Deprecated. |
java.lang.String |
getAdminRequestStatus(int requestNumber)
Deprecated. |
int[] |
getAllLevels(GeometryBean bean)
Deprecated. |
java.util.List<CacheInstance> |
getCacheInstances()
Deprecated. |
java.lang.String |
getCacheStatus()
Deprecated. The method will work with either the mcserver or mcsadmin urls |
java.lang.String |
getClientConfig(java.lang.String cacheName)
Deprecated. The method will work with either the mcserver or mcsadmin urls |
java.util.Map<java.lang.String,ClientConfig> |
getClientConfigs()
Deprecated. |
java.lang.String |
getDataSource()
Deprecated. |
int |
getEstimatedDiskSpaceRequired()
Deprecated. |
int |
getEstimatedTileRemaining()
Deprecated. |
int |
getEstimatedTimeRemaining()
Deprecated. |
java.lang.String |
getMapCache(java.lang.String cacheName)
Deprecated. |
MapTileServerResponse |
getMapTileServerResponse()
Deprecated. |
java.lang.String |
getMcsAdminUrl()
Deprecated. |
int |
getRequestId()
Deprecated. |
java.lang.String |
getServerUrl()
Deprecated. |
java.lang.String |
getUser()
Deprecated. |
java.lang.String |
prefetchCache(GeometryBean bean)
Deprecated. Prefetches all levels of all map tiles that the table might occur in. |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int level)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int[] levels)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int[] levels,
double[] ordinates)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int[] levels,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int level,
double[] ordinates)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
prefetchCache(java.lang.String cacheName,
int level,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(GeometryBean bean)
Deprecated. Refreshes all levels of all map tiles that the table might occur in. |
java.lang.String |
refreshCache(java.lang.String cacheName,
int level)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(java.lang.String cacheName,
int[] levels)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(java.lang.String cacheName,
int[] levels,
double[] ordinates)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(java.lang.String cacheName,
int[] levels,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(java.lang.String cacheName,
int level,
double[] ordinates)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
refreshCache(java.lang.String cacheName,
int level,
oracle.spatial.geometry.JGeometry geom)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
removeCacheInstance(java.lang.String cacheName,
boolean cleanDisk,
boolean removePermanently)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
restartCacheServer()
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
java.lang.String |
sendRequest(java.lang.String url,
java.lang.String requestBody)
Deprecated. |
java.lang.String |
sendRequests(java.lang.String url,
java.util.List<java.lang.String> requests)
Deprecated. |
void |
setDataSource(java.lang.String dataSource)
Deprecated. |
void |
setMcsAdminUrl(java.lang.String adminUrl)
Deprecated. |
void |
setPassword(java.lang.String password)
Deprecated. |
void |
setServerUrl(java.lang.String serverUrl)
Deprecated. |
void |
setUser(java.lang.String user)
Deprecated. |
java.lang.String |
takeCacheOffline(java.lang.String cacheName)
Deprecated. The method requires the mcsadmin serverUrl, otherwise it will do nothing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapCacheUtils(java.lang.String user, java.lang.String password, java.lang.String serverUrl, java.lang.String mcsAdminUrl, java.lang.String adminUrl, java.lang.String dataSource)
Method Detail |
---|
public java.lang.String getCacheStatus()
get_cache_status
requestpublic java.lang.String getClientConfig(java.lang.String cacheName)
cacheName
-
public java.lang.String removeCacheInstance(java.lang.String cacheName, boolean cleanDisk, boolean removePermanently)
cacheName
- cleanDisk
- removePermanently
-
public java.lang.String getAdminRequestStatus(int requestNumber)
requestNumber
-
public java.lang.String takeCacheOffline(java.lang.String cacheName)
cacheName
-
public java.lang.String bringCacheOnline(java.lang.String cacheName)
cacheName
-
public java.lang.String restartCacheServer()
restart_cache_server
requestpublic java.lang.String clearCache(java.lang.String cacheName, int level)
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached map
clear_cache map_cache_name
requestpublic java.lang.String clearCache(java.lang.String cacheName, int level, double[] ordinates)
geometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapordinates
- a 2D geometry
clear_cache map_cache_name
requestpublic java.lang.String clearCache(java.lang.String cacheName, int level, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapgeom
-
clear_cache map_cache_name
requestpublic int[] getAllLevels(GeometryBean bean)
public java.lang.String clearCache(java.lang.String cacheName, int[] levels)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached map
clear_cache map_cache_name
requestpublic java.lang.String clearCache(java.lang.String cacheName, int[] levels, double[] ordinates)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
The method interpretsgeometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapordinates
- a 2D geometry
clear_cache map_cache_name
requestpublic java.lang.String clearCache(java.lang.String cacheName, int[] levels, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapgeom
-
clear_cache map_cache_name
requestpublic java.lang.String clearCache(GeometryBean bean)
bean
-
refresh_cache map_cache_name
requestpublic java.lang.String clearCache(GeometryBean bean, oracle.spatial.geometry.JGeometry affectedArea)
bean
-
clearCache(GeometryBean bean)
public java.lang.String clearCache(GeometryBean bean, double[] affectedArea)
bean
-
clearCache(GeometryBean bean)
public void clearAllGeomCache()
public java.lang.String clearGeomCaches(java.util.List<UserSdoThemesBean> beans)
public java.lang.String clearGeomCache(java.lang.String themeName)
public java.lang.String prefetchCache(java.lang.String cacheName, int level)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached map
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(java.lang.String cacheName, int level, double[] ordinates)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
The method interpretsgeometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapordinates
- a 2D geometry
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(java.lang.String cacheName, int level, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapgeom
-
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(java.lang.String cacheName, int[] levels)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached map
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(java.lang.String cacheName, int[] levels, double[] ordinates)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
The method interpretsgeometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapordinates
- a 2D geometry
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(java.lang.String cacheName, int[] levels, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapgeom
-
prefetch_cache map_cache_name
requestpublic java.lang.String prefetchCache(GeometryBean bean)
bean
-
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int level)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached map
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int level, double[] ordinates)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
The method interpretsgeometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapordinates
- a 2D geometry
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int level, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevel
- a valid zoomLevel for the cached mapgeom
-
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int[] levels)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached map
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int[] levels, double[] ordinates)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
The method interpretsgeometry
as a point if it has a length of 2.
Otherwise as a polyline unless the first and last coordinates are the same and
then it is assumed to be a polygon.
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapordinates
- a 2D geometry
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(java.lang.String cacheName, int[] levels, oracle.spatial.geometry.JGeometry geom)
The method requires the mcsadmin serverUrl, otherwise it will do nothing
cacheName
- a name of a cache map in the current data sourcelevels
- an array of valid zoomLevels for the cached mapgeom
-
refresh_cache map_cache_name
requestpublic java.lang.String refreshCache(GeometryBean bean)
bean
-
refresh_cache map_cache_name
requestpublic void setDataSource(java.lang.String dataSource)
public java.lang.String getDataSource()
public java.lang.String getMapCache(java.lang.String cacheName)
public void setServerUrl(java.lang.String serverUrl)
serverUrl
- must be the full URL specification of the server (mcserver
) servlet as specified in web.xml
public java.lang.String getServerUrl()
public void setMcsAdminUrl(java.lang.String adminUrl)
adminUrl
- must be the full URL specification of the administration (mcsadmin
) servlet as specified in web.xml
public java.lang.String getMcsAdminUrl()
public void setUser(java.lang.String user)
public java.lang.String getUser()
public void setPassword(java.lang.String password)
public java.util.List<CacheInstance> getCacheInstances()
public java.util.Map<java.lang.String,ClientConfig> getClientConfigs()
public MapTileServerResponse getMapTileServerResponse()
public int getRequestId()
public int getEstimatedTileRemaining()
public int getEstimatedTimeRemaining()
public int getEstimatedDiskSpaceRequired()
public java.lang.String sendRequests(java.lang.String url, java.util.List<java.lang.String> requests)
public java.lang.String sendRequest(java.lang.String url, java.lang.String requestBody)
requestBody
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |