|
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.Bundle
com.tangosol.net.cache.AbstractEntryBundler.Bundle
protected class AbstractEntryBundler.Bundle
Field Summary |
---|
Fields inherited from class com.tangosol.net.cache.AbstractBundler.Bundle |
---|
STATUS_EXCEPTION, STATUS_OPEN, STATUS_PENDING, STATUS_PROCESSED |
Constructor Summary | |
---|---|
protected |
AbstractEntryBundler.Bundle()
Default constructor. |
Method Summary | |
---|---|
protected boolean |
add(Object oKey,
Object oValue)
Add the specified entry to the Bundle. |
protected boolean |
addAll(Map map)
Add the specified collection of entries to the Bundle. |
protected void |
ensureResults()
Obtain results of the bundled requests. |
protected int |
getBundleSize()
Obtain this bundle size. |
protected void |
process(boolean fBurst,
Object oKey,
Object oValue)
Process the specified entry according to this Bundle state. |
protected void |
processAll(boolean fBurst,
Map map)
Process the specified collection of entries 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 AbstractEntryBundler.Bundle()
Method Detail |
---|
protected boolean add(Object oKey, Object oValue)
oKey
- the entry keyoValue
- the entry value
protected boolean addAll(Map map)
map
- the collection of entries
protected void process(boolean fBurst, Object oKey, Object oValue)
fBurst
- true if this thread is supposed to perform an actual
bundled operation (burst); false otherwiseoKey
- the entry keyoValue
- the entry valueprotected void processAll(boolean fBurst, Map map)
fBurst
- true if this thread is supposed to perform an actual
bundled operation (burst); false otherwisemap
- the collection of entriesprotected 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
|
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 |