public interface IObjectMemoizer
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID70e17160_11c3_40f5_87fd_3e58826b3b3a |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final int IID70e17160_11c3_40f5_87fd_3e58826b3b3a
static final int xxDummy
static final java.lang.String IID
void add(java.lang.Object vtKey, java.lang.Object ppObject) throws java.io.IOException, AutomationException
vtKey
- A Variant (in)ppObject
- A reference to another Object (IUnknown) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object get(java.lang.Object vtKey) throws java.io.IOException, AutomationException
vtKey
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean exists(java.lang.Object vtKey) throws java.io.IOException, AutomationException
vtKey
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void clear() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setMaximumSize(int pMaximumSize) throws java.io.IOException, AutomationException
pMaximumSize
- The pMaximumSize (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getMaximumSize() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void remove(java.lang.Object vtKey) throws java.io.IOException, AutomationException
vtKey
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.