Skip navigation links
com.tangosol.net.cache
Class AbstractBinaryEntryBundler
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.AbstractBundler
com.tangosol.net.cache.AbstractBinaryEntryBundler
-
public abstract class AbstractBinaryEntryBundler
- extends AbstractBundler
An abstract BinaryEntry-based bundler that serves as a base for BinaryEntryStore operation bundling.
- Since:
- Coherence 3.7
- Author:
- tb 2011.01.06
Method Summary |
protected abstract void |
bundle(java.util.Set setEntries)
The bundle operation to be performed against a collected set of binary entries by the concrete AbstractEntryBundler implementations. |
protected AbstractBundler.Bundle |
instantiateBundle()
Instantiate a new Bundle object. |
protected void |
process(BinaryEntry binEntry)
Process the specified binary entry in a most optimal way according to the bundle settings. |
protected void |
processAll(java.util.Set set)
Process a collection of binary entries in a most optimal way according to the bundle settings. |
protected abstract void |
unbundle(BinaryEntry binEntry)
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 |
AbstractBinaryEntryBundler
public AbstractBinaryEntryBundler()
process
protected void process(BinaryEntry binEntry)
- Process the specified binary entry in a most optimal way according to the bundle settings.
-
- Parameters:
binEntry
- the binary entry
processAll
protected void processAll(java.util.Set set)
- Process a collection of binary entries in a most optimal way according to the bundle settings.
-
- Parameters:
set
- the set of binary entries to process
bundle
protected abstract void bundle(java.util.Set setEntries)
- The bundle operation to be performed against a collected set of binary entries by the concrete AbstractEntryBundler implementations. If an exception occurs during bundle operation, it will be repeated using singleton maps.
-
- Parameters:
setEntries
- a set of binary entries to perform the bundled operation for
unbundle
protected abstract void unbundle(BinaryEntry binEntry)
- Un-bundle bundled operation. This opeartion would be used if an exception occurs during bundle operation or if the number of active threads is below the
ThreadThreshold
value.
-
- Parameters:
binEntry
- a binary entry to perform the un-bundled operation for
instantiateBundle
protected AbstractBundler.Bundle instantiateBundle()
- Instantiate a new Bundle object.
-
- Specified by:
instantiateBundle
in class AbstractBundler
-
- Returns:
- a new Bundle object
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.