#include <coherence/net/cache/AbstractKeyBundler.hpp>
Inherits AbstractBundler.
Inherited by BundlingNamedCache::GetBundler, and BundlingNamedCache::RemoveBundler.
Public Types | |
typedef spec::Handle | Handle |
AbstractKeyBundler Handle definition. | |
typedef spec::View | View |
AbstractKeyBundler View definition. | |
typedef spec::Holder | Holder |
AbstractKeyBundler Holder definition. | |
typedef this_spec::Handle | Handle |
AbstractBundler Handle definition. | |
typedef this_spec::View | View |
AbstractBundler View definition. | |
typedef this_spec::Holder | Holder |
AbstractBundler Holder definition. | |
Public Member Functions | |
Object::Holder | process (Object::View vKey) |
Process the specified key in a most optimal way according to the bundle settings. | |
Map::View | processAll (Collection::View vColKeys) |
Process a colKeys of specified items in a most optimal way according to the bundle settings. | |
virtual Map::View | bundle (Collection::View vColKeys)=0 |
The bundle operation to be performed against a collected set of keys by the concrete AbstractKeyBundler implementations. | |
virtual Object::Holder | unbundle (Object::View vKey)=0 |
Un-bundle bundled operation. | |
virtual Bundle::Handle | instantiateBundle () |
Instantiate a new Bundle object.
| |
Classes | |
class | Bundle |
Bundle represents a unit of optimized execution. More... |
Object::Holder process | ( | Object::View | vKey | ) |
Process the specified key in a most optimal way according to the bundle settings.
vKey | the key to process |
Map::View processAll | ( | Collection::View | vColKeys | ) |
Process a colKeys of specified items in a most optimal way according to the bundle settings.
vColKeys | the collection of keys to process |
virtual Map::View bundle | ( | Collection::View | vColKeys | ) | [pure virtual] |
The bundle operation to be performed against a collected set of keys by the concrete AbstractKeyBundler implementations.
If an exception occurs during bundle operation, it could be repeated using singleton sets.
vColKeys | a key collection to perform the bundled operation for |
virtual Object::Holder unbundle | ( | Object::View | vKey | ) | [pure virtual] |
Un-bundle bundled operation.
This operation would be used if an exception occurs during a bundled operation or if the number of active threads is below the ThreadThreshold value.
ohKey | a key to perform the un-bundled operation for |