|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tangosol.util.Base
org.compass.needle.coherence.CompassCacheStore
public class CompassCacheStore
A simple Compass implementation of Coherence CacheStore implementing the store and eraze methods (no implementation for load).
Note, this implementation relies on the fact that the map key is the id of the map value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.util.Base |
|---|
com.tangosol.util.Base.StackFrame |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.Base |
|---|
POWER_0, POWER_G, POWER_K, POWER_M, POWER_T, UNIT_D, UNIT_H, UNIT_M, UNIT_MS, UNIT_NS, UNIT_S, UNIT_US |
| Constructor Summary | |
|---|---|
CompassCacheStore(String entityName)
|
|
CompassCacheStore(String entityName,
File configurationFile)
|
|
CompassCacheStore(String entityName,
String resource)
|
|
| Method Summary | |
|---|---|
void |
erase(Object key)
|
void |
eraseAll(Collection keys)
|
Object |
load(Object o)
Returns null, just implemets store. |
Map |
loadAll(Collection collection)
Returns an empty hash map, just implements store. |
void |
store(Object key,
Object value)
|
void |
storeAll(Map entries)
|
| Methods inherited from class com.tangosol.util.Base |
|---|
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, decimalValue, dup, dup, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getErr, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getRandom, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getUpTimeMillis, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, read, read, read, read, read, redirectAll, replace, setErr, setLog, setLogEcho, setOut, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, updateSafeTimeMillis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompassCacheStore(String entityName)
public CompassCacheStore(String entityName,
String resource)
public CompassCacheStore(String entityName,
File configurationFile)
| Method Detail |
|---|
public Object load(Object o)
null, just implemets store.
load in interface com.tangosol.net.cache.CacheLoaderpublic Map loadAll(Collection collection)
loadAll in interface com.tangosol.net.cache.CacheLoader
public void store(Object key,
Object value)
store in interface com.tangosol.net.cache.CacheStorepublic void storeAll(Map entries)
storeAll in interface com.tangosol.net.cache.CacheStorepublic void erase(Object key)
erase in interface com.tangosol.net.cache.CacheStorepublic void eraseAll(Collection keys)
eraseAll in interface com.tangosol.net.cache.CacheStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||