|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfCacheStorage
An interface which defines the contract for a configuration cache storage module.
Method Summary | ||
---|---|---|
void |
add(ICfgObject obj)
Adds the configuration object to the storage. |
|
void |
clear()
Removes all items in storage. |
|
boolean |
remove(ICfgObject obj)
Removes the specified configuration object from the storage. |
|
|
retrieve(java.lang.Class<T> cls)
Retrieves a list of all objects in the storage. |
|
|
retrieve(java.lang.Class<T> cls,
java.lang.Object helper)
Retrieves a list of objects in storage utilizing a "helper" parameter. |
|
void |
update(ICfgObject obj)
Updates an existing configuration object in the storage with the passed copy. |
Method Detail |
---|
void add(ICfgObject obj)
obj
- The configuration objectvoid update(ICfgObject obj)
obj
- The new version of a cached configuration objectboolean remove(ICfgObject obj)
obj
- The configuration object to remove
void clear()
<T extends ICfgObject> java.lang.Iterable<T> retrieve(java.lang.Class<T> cls)
T
- The type of object in the resulting listcls
- class of objects to be retrieved
<T extends ICfgObject> java.lang.Iterable<T> retrieve(java.lang.Class<T> cls, java.lang.Object helper)
T
- The type of object in the resulting listcls
- class of objects to be retrievedhelper
- A helper parameter to be defined in each implementation
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |