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

E80355-01

LocalCache::KeyMask Class Reference

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

Inherits Object.

List of all members.


Detailed Description

A class that masks certain changes so that they are not reported back to the CacheStore.

Public Types

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

Public Member Functions

virtual bool isIgnored (Object::View vKey)
 Check if a key should be ignored.
virtual bool isSynthetic ()
 Check whether or not the currently performed operation is internally initiated.
virtual void setSynthetic (bool fSynthetic)
 Specify whether or not the currently performed operation is internally initiated.
virtual bool ensureSynthetic ()
 Ensure that the synthetic operation flag is set.

Protected Member Functions

 KeyMask ()
 Construct a new KeyMask instance.

Member Function Documentation

virtual bool isIgnored ( Object::View  vKey  )  [virtual]

Check if a key should be ignored.

Parameters:
vKey the key that a change event has occurred for
Returns:
true if change events for the key should be ignored

virtual bool isSynthetic (  )  [virtual]

Check whether or not the currently performed operation is internally initiated.

Returns:
true iff the the current operation is internal

virtual void setSynthetic ( bool  fSynthetic  )  [virtual]

Specify whether or not the currently performed operation is internally initiated.

Parameters:
fSynthetic true iff the the current operation is internal

virtual bool ensureSynthetic (  )  [virtual]

Ensure that the synthetic operation flag is set.

Returns:
the previous value of the flag


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