|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
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.net.cache.AbstractBundler.Bundle
com.tangosol.net.cache.AbstractKeyBundler.Bundle
protected class AbstractKeyBundler.Bundle
Field Summary |
---|
Fields inherited from class com.tangosol.net.cache.AbstractBundler.Bundle |
---|
STATUS_EXCEPTION, STATUS_OPEN, STATUS_PENDING, STATUS_PROCESSED |
Constructor Summary | |
---|---|
protected |
AbstractKeyBundler.Bundle() Default constructor. |
Method Summary | |
---|---|
protected boolean |
add(Object oKey) Add the specified key to the Bundle. |
protected boolean |
addAll(Collection colKeys) Add the specified collection of keys to the Bundle. |
protected void |
ensureResults() Obtain results of the bundled requests. |
protected int |
getBundleSize() Obtain this bundle size. |
protected Object |
process(boolean fBurst, Object oKey) Process the specified key according to this Bundle state. |
protected Map |
processAll(boolean fBurst, Collection colKeys) Process the specified kye collection according to this Bundle state. |
protected boolean |
releaseThread() Release all bundle resources associated with the current thread. |
Methods inherited from class com.tangosol.net.cache.AbstractBundler.Bundle |
---|
ensureResults, formatStatusName, isException, isMaster, isOpen, isPending, isProcessed, resetStatistics, setMaster, setStatus, toString, waitForResults |
Constructor Detail |
---|
protected AbstractKeyBundler.Bundle()
Method Detail |
---|
protected boolean add(Object oKey)
oKey
- the key to add to this Bundleprotected boolean addAll(Collection colKeys)
colKeys
- the collection of keys to add to this Bundleprotected Object process(boolean fBurst, Object oKey)
fBurst
- true if this thread is supposed to perform an actual bundled operation (burst); false otherwiseoKey
- the key to processprotected Map processAll(boolean fBurst, Collection colKeys)
fBurst
- true if this thread is supposed to perform an actual bundled operation (burst); false otherwisecolKeys
- the collection of keys to processprotected int getBundleSize()
getSizeThreshold
method.getBundleSize
in class AbstractBundler.Bundle
protected void ensureResults()
ensureResults
in class AbstractBundler.Bundle
protected boolean releaseThread()
releaseThread
in class AbstractBundler.Bundle
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |