|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.mo.AbstractDataTransferObject org.kuali.rice.core.api.cache.CacheTarget
public final class CacheTarget
Method Summary | |
---|---|
boolean |
containsKey()
Checks if this instance contains a key. |
static CacheTarget |
entireCache(String cache)
Creates an instance targeting an entire cache. |
String |
getCache()
The name of the cache to target. |
String |
getKey()
The key of the item in the cache to target. |
static CacheTarget |
singleEntry(String cache,
String key)
Creates an instance targeting a single item in a cache based on the given key. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static CacheTarget entireCache(String cache)
cache
- the name of the cache. cannot be a null or blank string
IllegalArgumentException
- if cache is null or blankpublic static CacheTarget singleEntry(String cache, String key)
cache
- The name of the cache. cannot be a null or blank string.key
- The key of the item in the cache. cannot be a null of blank string.
IllegalArgumentException
- if the cache or key is null or blankpublic boolean containsKey()
public String getCache()
public String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |