| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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.util.Base
       com.tangosol.net.cache.AbstractBundler.Bundle
com.tangosol.net.cache.AbstractBundler.Bundle
           com.tangosol.net.cache.AbstractKeyBundler.Bundle
com.tangosol.net.cache.AbstractKeyBundler.Bundle
protected class AbstractKeyBundler.Bundle
Bundle represents a unit of optimized execution.
| 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(java.lang.Object oKey)Add the specified key to the Bundle. | 
| protected  boolean | addAll(java.util.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  java.lang.Object | process(boolean fBurst, java.lang.Object oKey)Process the specified key according to this Bundle state. | 
| protected  java.util.Map | processAll(boolean fBurst, java.util.Collection colKeys)Process the specified key 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(java.lang.Object oKey)
Note: a call to this method must be externally synchronized for this Bundle object.
oKey - the key to add to this Bundleprotected boolean addAll(java.util.Collection colKeys)
Note: a call to this method must be externally synchronized for this Bundle object.
colKeys - the collection of keys to add to this Bundle
protected java.lang.Object process(boolean fBurst,
                                   java.lang.Object oKey)
fBurst - true if this thread is supposed to perform an actual bundled operation (burst); false otherwiseoKey - the key to process
protected java.util.Map processAll(boolean fBurst,
                                   java.util.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.Bundleprotected void ensureResults()
ensureResults in class AbstractBundler.Bundleprotected boolean releaseThread()
releaseThread in class AbstractBundler.Bundle| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||