Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.util
Class InvocableMapHelper.IndexAdapter

java.lang.Object
  extended by com.tangosol.util.InvocableMapHelper.IndexAdapter

All Implemented Interfaces:
MapListener, MapListenerSupport.SynchronousListener, SynchronousListener, java.util.EventListener
Enclosing class:
InvocableMapHelper

protected static class InvocableMapHelper.IndexAdapter
extends java.lang.Object
implements MapListenerSupport.SynchronousListener

MapListener implementation that routes the map events into the corresponding MapIndex calls.


Constructor Summary
protected InvocableMapHelper.IndexAdapter(MapIndex index)
          Construct an IndexAdapter.

 

Method Summary
 void entryDeleted(MapEvent evt)
          Invoked when a map entry has been removed.
 void entryInserted(MapEvent evt)
          Invoked when a map entry has been inserted.
 void entryUpdated(MapEvent evt)
          Invoked when a map entry has been updated.
 boolean equals(java.lang.Object o)
          Compare this IndexMapListener with another object for equality.
 int hashCode()
          Return a hash code value for the IndexMapListener object.

 

Constructor Detail

InvocableMapHelper.IndexAdapter

protected InvocableMapHelper.IndexAdapter(MapIndex index)
Construct an IndexAdapter.
Parameters:
index - the MapIndex being wrapped

Method Detail

entryInserted

public void entryInserted(MapEvent evt)
Invoked when a map entry has been inserted.
Specified by:
entryInserted in interface MapListener
Parameters:
evt - the MapEvent carrying the insert information

entryUpdated

public void entryUpdated(MapEvent evt)
Invoked when a map entry has been updated.
Specified by:
entryUpdated in interface MapListener
Parameters:
evt - the MapEvent carrying the update information

entryDeleted

public void entryDeleted(MapEvent evt)
Invoked when a map entry has been removed.
Specified by:
entryDeleted in interface MapListener
Parameters:
evt - the MapEvent carrying the delete information

equals

public boolean equals(java.lang.Object o)
Compare this IndexMapListener with another object for equality.
Parameters:
o - an object reference or null
Returns:
true iff the passed object reference is a IndexMapListener object with the same index

hashCode

public int hashCode()
Return a hash code value for the IndexMapListener object.

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.