Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.1.0)

E69640-01

AbstractEntryBundler Class Reference

#include <coherence/net/cache/AbstractEntryBundler.hpp>

Inherits AbstractBundler.

Inherited by BundlingNamedCache::PutBundler.

List of all members.


Detailed Description

An abstract entry-based bundler serves as a base for NamedCache::put() operation bundling.

Author:
gg 2007.01.28

lh 2012.05.06

Since:
Coherence 12.1.2

Public Types

typedef spec::Handle Handle
 AbstractEntryBundler Handle definition.
typedef spec::View View
 AbstractEntryBundler View definition.
typedef spec::Holder Holder
 AbstractEntryBundler 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

virtual void process (Object::View vKey, Object::Holder ohValue)
 Process the specified entry in a most optimal way according to the bundle settings.
virtual void processAll (Map::View vMap)
 Process a colllection of entries in a most optimal way according to the bundle settings.

Protected Member Functions

virtual void bundle (Map::View vMapEntries)=0
 The bundle operation to be performed against a collected map of entries by the concrete AbstractEntryBundler implementations.
virtual
AbstractBundler::Bundle::Handle 
instantiateBundle ()
 Instantiate a new Bundle object.

Returns:
a new Bundle object


Member Function Documentation

virtual void process ( Object::View  vKey,
Object::Holder  ohValue 
) [virtual]

Process the specified entry in a most optimal way according to the bundle settings.

Parameters:
vKey the entry key
ohValue the entry value

virtual void processAll ( Map::View  vMap  )  [virtual]

Process a colllection of entries in a most optimal way according to the bundle settings.

Parameters:
vMap the collection of entries to process

virtual void bundle ( Map::View  vMapEntries  )  [protected, pure virtual]

The bundle operation to be performed against a collected map of entries by the concrete AbstractEntryBundler implementations.

If an exception occurs during bundle operation, it will be repeated using singleton maps.

Parameters:
vMapEntries a map to perform the bundled operation for


The documentation for this class was generated from the following file:
Copyright © 2000, 2016, Oracle and/or its affiliates. All rights reserved.