Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Class MapListenerSupport.WrapperSynchronousListener

    java.lang.Object
      com.tangosol.util.Base
          com.tangosol.util.MapListenerSupport.WrapperSynchronousListener

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

Enclosing class:
  MapListenerSupport

    public static class MapListenerSupport.WrapperSynchronousListener

extends Base
implements MapListenerSupport.SynchronousListener

A wrapper class that turns the specified MapListener into a synchronous listener.

Constructor Summary
`MapListenerSupport.WrapperSynchronousListener(MapListener listener)` Counstruct WrapperSynchronousListener.

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 the WrapperSynchronousListener with another object to determine equality.
`int` | `hashCode()` Determine a hash value for the WrapperSynchronousListener object according to the general `Object.hashCode()` contract.

Constructor Detail

### MapListenerSupport.WrapperSynchronousListener

    public MapListenerSupport.WrapperSynchronousListener(MapListener listener)

  Counstruct WrapperSynchronousListener.

  Parameters:
    `listener` - the wrapped MapListener

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

### hashCode

    public int hashCode()

  Determine a hash value for the WrapperSynchronousListener object according to the general `Object.hashCode()` contract.

  Returns:
    an integer hash value for this WrapperSynchronousListener

### equals

    public boolean equals(java.lang.Object o)

  Compare the WrapperSynchronousListener with another object to determine equality.

  Returns:
    true iff this WrapperSynchronousListener and the passed object are equivalent listeners

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.