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 from
AbstractRepositoryBase.Listener
to MapListener
that can be
registered with the backing NamedMap
.-
Field Summary
Fields inherited from interface com.tangosol.util.MapListener
ASYNCHRONOUS, SYNCHRONOUS, VERSION_AWARE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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 Details
-
entryInserted
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
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
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
-
equals
-
hashCode
public int hashCode()
-