Class IndexAdapter
ICacheListener implementation that routes the cache events into the corresponding ICacheIndex calls.
Inherited Members
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 |
|
Overrides
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. |