Show / Hide Table of Contents

Class IndexAdapter

ICacheListener implementation that routes the cache events into the corresponding ICacheIndex calls.

Inheritance
object
IndexAdapter
Implements
CacheListenerSupport.ISynchronousListener
ISynchronousListener
ICacheListener
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence.dll
Syntax
public class IndexAdapter : CacheListenerSupport.ISynchronousListener, ISynchronousListener, ICacheListener

Constructors

IndexAdapter(ICacheIndex)

Construct an IndexAdapter.

Declaration
public IndexAdapter(ICacheIndex index)
Parameters
Type Name Description
ICacheIndex index

The ICacheIndex being wrapped.

Methods

EntryDeleted(CacheEventArgs)

Invoked when a cache entry has been deleted.

Declaration
public void EntryDeleted(CacheEventArgs evt)
Parameters
Type Name Description
CacheEventArgs evt

The CacheEventArgs carrying the remove information.

EntryInserted(CacheEventArgs)

Invoked when a cache entry has been inserted.

Declaration
public void EntryInserted(CacheEventArgs evt)
Parameters
Type Name Description
CacheEventArgs evt

The CacheEventArgs carrying the insert information.

EntryUpdated(CacheEventArgs)

Invoked when a cache entry has been updated.

Declaration
public void EntryUpdated(CacheEventArgs evt)
Parameters
Type Name Description
CacheEventArgs evt

The CacheEventArgs carrying the update information.

Equals(object)

Compare this IndexMapListener with another object for equality.

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
object o

An object reference or null.

Returns
Type Description
bool

true iff the passed object reference is a IndexMapListener object with the same index.

Overrides
object.Equals(object)

GetHashCode()

Return a hash code value for the IndexMapListener object.

Declaration
public override int GetHashCode()
Returns
Type Description
int

An integer hash value for this IndexAdapter.

Overrides
object.GetHashCode()

Implements

CacheListenerSupport.ISynchronousListener
ISynchronousListener
ICacheListener
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.