Package com.oracle.coherence.repository
Class AbstractRepositoryBase.MapListenerAdapter<ID,T>
- java.lang.Object
-
- com.oracle.coherence.repository.AbstractRepositoryBase.MapListenerAdapter<ID,T>
-
- Type Parameters:
ID
- the type of entity's identifierT
- the type of entity
- All Implemented Interfaces:
MapListener<ID,T>
,EventListener
- Enclosing class:
- AbstractRepositoryBase<ID,T,M>
protected static class AbstractRepositoryBase.MapListenerAdapter<ID,T> extends Object implements MapListener<ID,T>
Adapter fromAbstractRepositoryBase.Listener
toMapListener
that can be registered with the backingNamedMap
.
-
-
Field Summary
-
Fields inherited from interface com.tangosol.util.MapListener
ASYNCHRONOUS, SYNCHRONOUS, VERSION_AWARE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entryDeleted(MapEvent<ID,T> mapEvent)
Invoked when a map entry has been removed.void
entryInserted(MapEvent<ID,T> mapEvent)
Invoked when a map entry has been inserted.void
entryUpdated(MapEvent<ID,T> mapEvent)
Invoked when a map entry has been updated.boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.MapListener
characteristics, isAsynchronous, isSynchronous, isVersionAware, synchronous
-
-
-
-
Method Detail
-
entryInserted
public void entryInserted(MapEvent<ID,T> mapEvent)
Description copied from interface:MapListener
Invoked when a map entry has been inserted.- Specified by:
entryInserted
in interfaceMapListener<ID,T>
- Parameters:
mapEvent
- the MapEvent carrying the insert information
-
entryUpdated
public void entryUpdated(MapEvent<ID,T> mapEvent)
Description copied from interface:MapListener
Invoked when a map entry has been updated.- Specified by:
entryUpdated
in interfaceMapListener<ID,T>
- Parameters:
mapEvent
- the MapEvent carrying the update information
-
entryDeleted
public void entryDeleted(MapEvent<ID,T> mapEvent)
Description copied from interface:MapListener
Invoked when a map entry has been removed.- Specified by:
entryDeleted
in interfaceMapListener<ID,T>
- Parameters:
mapEvent
- the MapEvent carrying the delete information
-
-