org.apache.geronimo.messaging.replication
Class SimpleReplicatedMap.MapUpdateEvent
java.lang.Object
org.apache.geronimo.messaging.replication.SimpleReplicatedMap.MapUpdateEvent
- All Implemented Interfaces:
- Externalizable, Serializable, UpdateEvent
- Enclosing class:
- SimpleReplicatedMap
- public static class SimpleReplicatedMap.MapUpdateEvent
- extends Object
- implements UpdateEvent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLEAR
public static final int CLEAR
- See Also:
- Constant Field Values
PUT
public static final int PUT
- See Also:
- Constant Field Values
PUTALL
public static final int PUTALL
- See Also:
- Constant Field Values
REMOVE
public static final int REMOVE
- See Also:
- Constant Field Values
SimpleReplicatedMap.MapUpdateEvent
public SimpleReplicatedMap.MapUpdateEvent()
- Required for Externalization.
SimpleReplicatedMap.MapUpdateEvent
public SimpleReplicatedMap.MapUpdateEvent(int anId,
Object aTarget)
SimpleReplicatedMap.MapUpdateEvent
public SimpleReplicatedMap.MapUpdateEvent(int anId,
Object aTarget,
Object aKey,
Object aValue)
SimpleReplicatedMap.MapUpdateEvent
public SimpleReplicatedMap.MapUpdateEvent(Map aMap,
Object aTarget)
getId
public int getId()
- Description copied from interface:
UpdateEvent
- Gets the event identifier.
- Specified by:
getId
in interface UpdateEvent
- Returns:
- Event identifier.
getTarget
public Object getTarget()
- Description copied from interface:
UpdateEvent
- Gets the target of the event. It must be the ReplicationCapable which
has been updated.
- Specified by:
getTarget
in interface UpdateEvent
- Returns:
- Instance which has been updated.
setTarget
public void setTarget(Object aTarget)
- Description copied from interface:
UpdateEvent
- Sets the target of this event.
- Specified by:
setTarget
in interface UpdateEvent
- Parameters:
aTarget
- Instance which has been updated.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.