|
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.Objectcom.tangosol.util.Base
com.tangosol.net.cache.AbstractBundler
com.tangosol.net.cache.AbstractKeyBundler
public abstract class AbstractKeyBundler
An abstract key-based bundler serves as a base for NamedCache get() and remove() operation bundling as well as the CacheStore load() and erase() operation bundling.
Nested Class Summary | |
---|---|
protected class |
AbstractKeyBundler.Bundle
|
Nested classes/interfaces inherited from class com.tangosol.net.cache.AbstractBundler |
---|
AbstractBundler.Statistics |
Field Summary |
---|
Fields inherited from class com.tangosol.net.cache.AbstractBundler |
---|
ADJUSTMENT_FREQUENCY, m_countThreads, m_dPreviousSizeThreshold, m_listBundle |
Constructor Summary | |
---|---|
AbstractKeyBundler()
|
Method Summary | |
---|---|
protected abstract Map |
bundle(Collection colKeys)
The bundle operation to be performed against a collected set of keys by the concrete AbstractKeyBundler implementations. |
protected AbstractBundler.Bundle |
instantiateBundle()
Instantiate a new Bundle object. |
protected Object |
process(Object oKey)
Process the specified key in a most optimal way according to the bundle settings. |
protected Map |
processAll(Collection colKeys)
Process a colKeys of specified items in a most optimal way according to the bundle settings. |
protected abstract Object |
unbundle(Object oKey)
Un-bundle bundled operation. |
Methods inherited from class com.tangosol.net.cache.AbstractBundler |
---|
adjust, getDelayMillis, getOpenBundle, getSizeThreshold, getThreadThreshold, isAllowAutoAdjust, resetStatistics, setAllowAutoAdjust, setDelayMillis, setSizeThreshold, setThreadThreshold, toString, updateStatistics |
Constructor Detail |
---|
public AbstractKeyBundler()
Method Detail |
---|
protected Object process(Object oKey)
oKey
- the key to process
protected Map processAll(Collection colKeys)
colKeys
- the collection of keys to process
protected abstract Map bundle(Collection colKeys)
colKeys
- a key collection to perform the bundled operation forprotected abstract Object unbundle(Object oKey)
ThreadThreshold
value.
oKey
- a key to perform the un-bundled operation forprotected AbstractBundler.Bundle instantiateBundle()
instantiateBundle
in class AbstractBundler
|
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 |