com.esri.arcgis.datasourcesraster
Interface IObjectMemoizer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IObjectMemoizerProxy, ObjectMemoizer

public interface IObjectMemoizer
extends java.io.Serializable

COM Interface 'IObjectMemoizer'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control an object memoizer.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID70e17160_11c3_40f5_87fd_3e58826b3b3a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(java.lang.Object vtKey, java.lang.Object ppObject)
          Memoizes an object uniquely associated with the specified key.
 void clear()
          Clears the object cache associated with the memoizer.
 boolean exists(java.lang.Object vtKey)
          Returns TRUE if a previously memoized object associated with the specified key is found.
 java.lang.Object get(java.lang.Object vtKey)
          Retrieves the previously memoized object associated with the specified key and increments its usage count.
 int getCount()
          The number of object currently held by the memoizer.
 int getMaximumSize()
          The maximum allowed number of objects held by the memoizer.
 void remove(java.lang.Object vtKey)
          Removes the previously memoized object associated with the specified key.
 void setMaximumSize(int pMaximumSize)
          The maximum allowed number of objects held by the memoizer.
 

Field Detail

IID70e17160_11c3_40f5_87fd_3e58826b3b3a

static final int IID70e17160_11c3_40f5_87fd_3e58826b3b3a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

add

void add(java.lang.Object vtKey,
         java.lang.Object ppObject)
         throws java.io.IOException,
                AutomationException
Memoizes an object uniquely associated with the specified key. Adding more objects than allowed (as indicated by the .MaximumSize property) would cause one or more previously memoized items to be removed based on an implementation-specific eviction strategy.

Parameters:
vtKey - A Variant (in)
ppObject - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

get

java.lang.Object get(java.lang.Object vtKey)
                     throws java.io.IOException,
                            AutomationException
Retrieves the previously memoized object associated with the specified key and increments its usage count.

Parameters:
vtKey - A Variant (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

boolean exists(java.lang.Object vtKey)
               throws java.io.IOException,
                      AutomationException
Returns TRUE if a previously memoized object associated with the specified key is found.

Parameters:
vtKey - A Variant (in)
Returns:
The pbExists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws java.io.IOException,
                  AutomationException
Clears the object cache associated with the memoizer.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of object currently held by the memoizer.

Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumSize

void setMaximumSize(int pMaximumSize)
                    throws java.io.IOException,
                           AutomationException
The maximum allowed number of objects held by the memoizer.

Parameters:
pMaximumSize - The pMaximumSize (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumSize

int getMaximumSize()
                   throws java.io.IOException,
                          AutomationException
The maximum allowed number of objects held by the memoizer.

Returns:
The pMaximumSize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(java.lang.Object vtKey)
            throws java.io.IOException,
                   AutomationException
Removes the previously memoized object associated with the specified key.

Parameters:
vtKey - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.