|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.servertools.ManageGlobeServerCacheTiles
public class ManageGlobeServerCacheTiles
Creates and updates tiles in an existing globe service cache. This tool is used to create new tiles or to replace missing tiles, overwrite outdated tiles, or add new tiles. All these actions can be defined by rectangular extents or by a polygon feature class. When creating new tiles, you can choose whether to create only empty tiles, or recreate all tiles. The Manage Globe Server Cache Tiles tool is contained in the Server Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ManageGlobeServerCacheTiles()
Creates the Manage Globe Server Cache Tiles tool with defaults. |
|
ManageGlobeServerCacheTiles(String serverName,
String objectName,
Object inLayers,
String updateMode)
Creates the Manage Globe Server Cache Tiles tool with the required parameters. |
Method Summary | |
---|---|
String |
getIgnoreStatus()
Returns the Cache areas for all features and ignore completion status field parameter of this tool . |
Object |
getInLayers()
Returns the Input Layers parameter of this tool . |
String |
getObjectName()
Returns the GlobeServer Object parameter of this tool . |
String |
getServerName()
Returns the Host parameter of this tool . |
int |
getThreadCount()
Returns the Number of GlobeServer instances parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
Object |
getUpdateExtent()
Returns the Update Extent parameter of this tool . |
Object |
getUpdateFeatureClass()
Returns the Input Feature Class parameter of this tool . |
String |
getUpdateMode()
Returns the Update Mode parameter of this tool . |
void |
setIgnoreStatus(String ignoreStatus)
Sets the Cache areas for all features and ignore completion status field parameter of this tool . |
void |
setInLayers(Object inLayers)
Sets the Input Layers parameter of this tool . |
void |
setObjectName(String objectName)
Sets the GlobeServer Object parameter of this tool . |
void |
setServerName(String serverName)
Sets the Host parameter of this tool . |
void |
setThreadCount(int threadCount)
Sets the Number of GlobeServer instances parameter of this tool . |
void |
setUpdateExtent(Object updateExtent)
Sets the Update Extent parameter of this tool . |
void |
setUpdateFeatureClass(Object updateFeatureClass)
Sets the Input Feature Class parameter of this tool . |
void |
setUpdateMode(String updateMode)
Sets the Update Mode parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ManageGlobeServerCacheTiles()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ManageGlobeServerCacheTiles(String serverName, String objectName, Object inLayers, String updateMode)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
serverName
- the ArcGIS Server machine hosting the globe service whose tiles you are managing.objectName
- the globe service whose tiles will be modified.inLayers
- select the layers to include in the cache. for each layer, you need to provide a level_from, which is the level of detail at which you would like to begin caching the layer, and a level_to, which is the level of detail at which you would like to end caching the layer. If the smallest and largest levels of detail are used for level_from and level_to, respectively, a full cache will be built for the layer.updateMode
- choose a mode for updating the cache. The two modes are:Method Detail |
---|
public String getServerName()
public void setServerName(String serverName)
serverName
- the ArcGIS Server machine hosting the globe service whose tiles you are managing.public String getObjectName()
public void setObjectName(String objectName)
objectName
- the globe service whose tiles will be modified.public Object getInLayers()
public void setInLayers(Object inLayers)
inLayers
- select the layers to include in the cache. for each layer, you need to provide a level_from, which is the level of detail at which you would like to begin caching the layer, and a level_to, which is the level of detail at which you would like to end caching the layer. If the smallest and largest levels of detail are used for level_from and level_to, respectively, a full cache will be built for the layer.public String getUpdateMode()
public void setUpdateMode(String updateMode)
updateMode
- choose a mode for updating the cache. The two modes are:public Object getUpdateExtent()
public void setUpdateExtent(Object updateExtent)
updateExtent
- rectangular extent at which tiles should be created or deleted, depending on the Update Mode. You can type the extent values or choose an extent from an existing data source.public int getThreadCount()
public void setThreadCount(int threadCount)
threadCount
- number of globe service instances to use while running this tool. By default the maximum allowable number of instances will be used (default for an ArcGIS Server service is 2) . If you have more server power, you can raise the maximum allowable number of instances in the Service Properties, then raise this parameter when you run the tool.public Object getUpdateFeatureClass()
public void setUpdateFeatureClass(Object updateFeatureClass)
updateFeatureClass
- you can use a polygon feature class to manage tiles (create/update) based on the extents of features in a feature class. For example, if you are caching a country, you might supply a feature class of major urban areas. By doing so, you are requesting that the server only pre-create tiles that cover those urban areas. The rest of the areas can be cached on demand when requested by clients. This can save you time and disk space that would be consumed by creating unneeded tiles in rural areas.public String getIgnoreStatus()
public void setIgnoreStatus(String ignoreStatus)
ignoreStatus
- this parameter allows you to track the status of your caching if you are creating tiles based on feature class boundaries (see the update_feature_class parameter).public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |