Delete Globe Server Cache (Server) |
|
Release 9.2
Last modified November 22, 2006 |
![]() ![]() ![]() Print all topics in : "Tools" |
Deletes an existing Globe Service layer's cache.
This is an unrecoverable operation so only use if you are sure you no longer need the cache.
Usage tips
This tool can be used to delete an existing globe server cache. To delete a cache, specify the Globe server host and select the Globe Server Object. The layers list will be populated with all available layers in the selected service.
By default all layers of the service are displayed and selected. If you intend to delete only a particular layers cache, make sure to unselect the ones you want to keep the cache for.
Delete Globe Server Cache tool can be helpful if you have many caches residing in your server cache directory and want to delete only a particular services cache.
Delete Globe Server Cache deletes the entire cache folder. Note that after Delete Globe Server Cache tool runs it will restart the server object. This will in turn generate a new set of caches for each layer in the service that was deleted by the delete operation. This is because all globe services will require a cache configuration to exist on disk to run. The cache that gets created automatically on start up of a service is a skeleton representation that does not contain any tiles.
This tool does not accept any Environment Setting that have been specified.
Command line syntax
An overview of the Command Line window
DeleteGlobeServerCache_Server <server_name> <object_name> <layer;layer...>
Parameter | Explanation | Data Type |
<server_name> |
The host name of the ArcGIS Server to use to update the cache. |
String |
<object_name> |
The name of the Globe Service to use to update the cache. |
String |
<layer;layer...> |
Update the data cache of the chosen layers. All layers of the service are checked by default. If a layer is unchecked the layers cache will not be deleted. |
String |
DeleteGlobeServerCache_server(globelite, Elevation, 30M_Dem)
Scripting syntax
About getting started with writing geoprocessing scripts
DeleteGlobeServerCache_Server (server_name, object_name, layer)
Parameter | Explanation | Data Type |
server_name (Required) |
The host name of the ArcGIS Server to use to update the cache. |
String |
object_name (Required) |
The name of the Globe Service to use to update the cache. |
String |
layer (Required) |
Update the data cache of the chosen layers. All layers of the service are checked by default. If a layer is unchecked the layers cache will not be deleted. |
String |
# Importing standard library modules import os, arcgisscripting # Create the geoprocessing object gp = arcgisscripting.create() gp.DeleteGlobeServerCache_server ("globelite","Elevation","30M_Dem")