DefaultConfCacheStorage
public interface IConfCacheStorage
Modifier and Type | Method | Description |
---|---|---|
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.
|
<T extends ICfgObject> |
retrieve(java.lang.Class<T> cls) |
Retrieves a list of all objects in the storage.
|
<T extends ICfgObject> |
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.
|
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 removevoid 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 implementationSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.