|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tangosol.util.Base com.tangosol.coherence.toplink.TopLinkCacheLoader com.tangosol.coherence.toplink.TopLinkCacheStore
public class TopLinkCacheStore
TopLink implementation of the CacheStore
interface.
Field Summary |
---|
Fields inherited from class com.tangosol.coherence.toplink.TopLinkCacheLoader |
---|
m_clzEntity, m_descEntity, m_fUsePkClass, m_mappingPk, m_sEntityName, m_session, m_sPkField |
Constructor Summary | |
---|---|
TopLinkCacheStore(String sEntityName)
Constructor which accepts an entity name. |
|
TopLinkCacheStore(String sEntityName,
String sSessionName)
Constructor which accepts an entity name and session name. |
Method Summary | |
---|---|
void |
erase(Object oKey)
Remove the specified key from the underlying store if present. |
void |
eraseAll(Collection colKeys)
Remove the specified keys from the underlying store if present. |
void |
store(Object oKey,
Object oValue)
Store the specified value under the specified key in the underlying store. |
void |
storeAll(Map mapEntries)
Store the specified values under the specified keys in the underlying store. |
Methods inherited from class com.tangosol.coherence.toplink.TopLinkCacheLoader |
---|
initialize, load, loadAll, queryByPk, queryByPkCollection |
Methods inherited from interface com.tangosol.net.cache.CacheLoader |
---|
load, loadAll |
Constructor Detail |
---|
public TopLinkCacheStore(String sEntityName)
sEntityName
- the alias for the persistent classpublic TopLinkCacheStore(String sEntityName, String sSessionName)
sEntityName
- the alias for the persistent classsSessionName
- the name of the TopLink session (usually defined in
sessions.xml)Method Detail |
---|
public void store(Object oKey, Object oValue)
store
in interface CacheStore
oKey
- key to store the value underoValue
- value to be storedpublic void storeAll(Map mapEntries)
storeAll
in interface CacheStore
mapEntries
- a Map of any number of keys and values to storepublic void erase(Object oKey)
erase
in interface CacheStore
oKey
- key whose mapping is being removed from the cachepublic void eraseAll(Collection colKeys)
eraseAll
in interface CacheStore
colKeys
- keys whose mappings are being removed from the cache
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |