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

E80355-01

MapTrigger::Entry Class Reference

#include <coherence/util/MapTrigger.hpp>

List of all members.


Detailed Description

A MapTrigger Entry represents a pending change to an Entry that is about to committed to the underlying Map.

The methods inherited from InvocableMap::Entry provide both the pending state and the ability to alter that state. The original state of the Entry can be obtained usingthe getOriginalValue() and isOriginalPresent methods.

Public Types

typedef spec::Handle Handle
 Entry Handle definition.
typedef spec::View View
 Entry View definition.
typedef spec::Holder Holder
 Entry Holder definition.

Public Member Functions

virtual Object::View getOriginalValue () const =0
 Determine the value that existed before the start of the mutating operation that is being evaluated by the trigger.
virtual bool isOriginalPresent () const =0
 Determine whether or not the Entry existed before the start of thenmutating operation that is being evaluated by the trigger.


Member Function Documentation

virtual Object::View getOriginalValue (  )  const [pure virtual]

Determine the value that existed before the start of the mutating operation that is being evaluated by the trigger.

Returns:
the original value corresponding to this Entry; may be null if the value is null or if the Entry did not exist in the Map

virtual bool isOriginalPresent (  )  const [pure virtual]

Determine whether or not the Entry existed before the start of thenmutating operation that is being evaluated by the trigger.

Returns:
true iff this Entry was existent in the containing Map


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