|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheMap
Interface with extra methods for special features of FKache.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Method Summary | |
|---|---|
void |
defineObject(Object name,
Attributes attributes)
is used to specify the attributes to associate with an object when it is loaded. |
Object |
get(Object name,
Object arguments)
Gets the object from the cache. |
Attributes |
getAttributes()
Will return an attribute object describing the current attributes associated for the region for this CacheAccess. |
Attributes |
getAttributes(Object name)
Deprecated. moved to MapAccess |
Object |
put(Object key,
String group,
Object value)
Puts a object into the cache, and attach it to a group. |
Object |
remove(Object key,
String group)
Removes an object from a group. |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
Attributes getAttributes()
Attributes getAttributes(Object name)
throws CacheException
name - the name of the object to get the attributes for.
CacheException - if an error occurs.
Object get(Object name,
Object arguments)
name - the name of the object to get.arguments - the arguments wich is passed to the load method of the
CacheLoader, if registered.
void defineObject(Object name,
Attributes attributes)
name - the name of the object to associate the attributes with.attributes - the attributes to associate.
Object put(Object key,
String group,
Object value)
key - the key of the objectgroup - the group to put it in to.value - the actual object to put into the cache.
Object remove(Object key,
String group)
key - The object to remove.group - The group to remove the object from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||