|
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.AbstractEntryBundler
public abstract class AbstractEntryBundler
An abstract entry-based bundler serves as a base for NamedCache.put() and CacheStore.store() operation bundling.
Nested Class Summary | |
---|---|
protected class |
AbstractEntryBundler.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 | |
---|---|
AbstractEntryBundler()
|
Method Summary | |
---|---|
protected abstract void |
bundle(Map mapEntries)
The bundle operation to be performed against a collected map of entries by the concrete AbstractEntryBundler implementations. |
protected AbstractBundler.Bundle |
instantiateBundle()
Instantiate a new Bundle object. |
protected void |
process(Object oKey,
Object oValue)
Process the specified entry in a most optimal way according to the bundle settings. |
protected void |
processAll(Map map)
Process a colllection of entries in a most optimal way according to the bundle settings. |
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 AbstractEntryBundler()
Method Detail |
---|
protected void process(Object oKey, Object oValue)
oKey
- the entry keyoKey
- the entry valueprotected void processAll(Map map)
map
- the collection of entries to processprotected abstract void bundle(Map mapEntries)
mapEntries
- a map to perform the 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 |