public class IDMappingExtCacheDMAPImpl extends java.lang.Object implements IDMappingExtCache
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CACHE_NAME |
static java.lang.String |
IDMappingExtCacheDMAPImpl_java_copyright |
static java.lang.String |
IDMappingExtCacheDMAPImpl_java_sourceCodeID |
static java.lang.String |
MAP_INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearAll() |
boolean |
exists(java.lang.String lookupKey)
Returns true if the lookup key exists in the cache, otherwise returns
false.
|
java.lang.String |
get(java.lang.String lookupKey)
Returns an entry for the given lookup key that was previously stored in
our cache.
|
java.lang.String |
getAndRemove(java.lang.String lookupKey)
Returns an entry that was previously stored in our cache.
|
void |
put(java.lang.String lookupKey,
java.lang.String entry,
int lifetime)
Stores an association for a given state id in a cache.
|
public static final java.lang.String IDMappingExtCacheDMAPImpl_java_sourceCodeID
public static final java.lang.String IDMappingExtCacheDMAPImpl_java_copyright
public static java.lang.String CACHE_NAME
public static java.lang.String MAP_INSTANCE
public java.lang.String get(java.lang.String lookupKey)
IDMappingExtCacheget in interface IDMappingExtCachepublic void put(java.lang.String lookupKey,
java.lang.String entry,
int lifetime)
IDMappingExtCacheput in interface IDMappingExtCachelookupKey - -
The key that will be later used to lookup the entry.
The max key length is 109 characters.entry - -
The entry to store in a cache.
The maximum length of entry is specific to the database being
used.lifetime - -
The length of time we should store the association in secondspublic java.lang.String getAndRemove(java.lang.String lookupKey)
IDMappingExtCachegetAndRemove in interface IDMappingExtCachepublic boolean exists(java.lang.String lookupKey)
IDMappingExtCacheexists in interface IDMappingExtCachepublic boolean clearAll()