com.esri.arcgis.geoprocessing
Class MapCacheTileManager

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.MapCacheTileManager
All Implemented Interfaces:
IEnumThreadedJobs, IMapCacheTileManager, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MapCacheTileManager
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMapCacheTileManager, IEnumThreadedJobs

A Map Cache Tile Manager.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
MapCacheTileManager()
          Constructs a MapCacheTileManager using ArcGIS Engine.
MapCacheTileManager(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MapCacheTileManager theMapCacheTileManager = (MapCacheTileManager) obj;
 
Method Summary
 void enableLocalCaching(boolean localCaching)
          Enable local caching
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getDataframe()
          Dataframe name.
 String getHost()
          Server machine name.
 String getService()
          Service name.
 int hashCode()
          the hashcode for this object
 void manage(String layerName, ILongArray pLevels, IGeometry pGeometry, int mode, int numThreads, ITrackCancel pTrackCancel, IGPMessages pGPMessages)
          Import cache.
 IThreadedJob next()
          Returns the next threaded job.
 void reset()
          Resets the enumerator.
 void setDataframe(String pDataframe)
          Dataframe name.
 void setHost(String pHost)
          Server machine name.
 void setService(String pService)
          Service name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

MapCacheTileManager

public MapCacheTileManager()
                    throws IOException,
                           UnknownHostException
Constructs a MapCacheTileManager using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MapCacheTileManager

public MapCacheTileManager(Object obj)
                    throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MapCacheTileManager theMapCacheTileManager = (MapCacheTileManager) obj;

Construct a MapCacheTileManager using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MapCacheTileManager.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getHost

public String getHost()
               throws IOException,
                      AutomationException
Server machine name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHost in interface IMapCacheTileManager
Returns:
The pHost
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHost

public void setHost(String pHost)
             throws IOException,
                    AutomationException
Server machine name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHost in interface IMapCacheTileManager
Parameters:
pHost - The pHost (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getService

public String getService()
                  throws IOException,
                         AutomationException
Service name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getService in interface IMapCacheTileManager
Returns:
The pService
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setService

public void setService(String pService)
                throws IOException,
                       AutomationException
Service name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setService in interface IMapCacheTileManager
Parameters:
pService - The pService (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataframe

public String getDataframe()
                    throws IOException,
                           AutomationException
Dataframe name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDataframe in interface IMapCacheTileManager
Returns:
The pDataframe
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataframe

public void setDataframe(String pDataframe)
                  throws IOException,
                         AutomationException
Dataframe name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setDataframe in interface IMapCacheTileManager
Parameters:
pDataframe - The pDataframe (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableLocalCaching

public void enableLocalCaching(boolean localCaching)
                        throws IOException,
                               AutomationException
Enable local caching

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
enableLocalCaching in interface IMapCacheTileManager
Parameters:
localCaching - The localCaching (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

manage

public void manage(String layerName,
                   ILongArray pLevels,
                   IGeometry pGeometry,
                   int mode,
                   int numThreads,
                   ITrackCancel pTrackCancel,
                   IGPMessages pGPMessages)
            throws IOException,
                   AutomationException
Import cache.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
manage in interface IMapCacheTileManager
Parameters:
layerName - The layerName (in)
pLevels - A reference to a com.esri.arcgis.system.ILongArray (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
mode - A com.esri.arcgis.carto.esriMapCacheUpdateMode constant (in)
numThreads - The numThreads (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pGPMessages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IThreadedJob next()
                  throws IOException,
                         AutomationException
Returns the next threaded job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
next in interface IEnumThreadedJobs
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IThreadedJob
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumerator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
reset in interface IEnumThreadedJobs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.