jgroup.arm
Class ReplicaFailureEvent
java.lang.Object
jgroup.arm.ReplicaFailureEvent
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, ARMEvent
public class ReplicaFailureEvent
- extends java.lang.Object
- implements ARMEvent
- Author:
- Hein Meling
- See Also:
- Serialized Form
Method Summary |
int |
getGroupId()
Returns the groupd identifier associated with this event. |
java.lang.Object |
getObject()
Retreive an object associated with this event. |
void |
handle(DistributionScheme distScheme)
This method must implement the actual handling of the event, as
recevied by the replication manager. |
void |
readExternal(java.io.ObjectInput in)
|
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicaFailureEvent
public ReplicaFailureEvent(ClassData clData)
handle
public void handle(DistributionScheme distScheme)
throws java.lang.Exception
- Description copied from interface:
ARMEvent
- This method must implement the actual handling of the event, as
recevied by the replication manager.
- Specified by:
handle
in interface ARMEvent
- Parameters:
distScheme
- access point to the replication manager for external events
- Throws:
java.lang.Exception
getGroupId
public int getGroupId()
- Description copied from interface:
ARMEvent
- Returns the groupd identifier associated with this event.
If the event is not associated with any group, it should
return -1.
- Specified by:
getGroupId
in interface ARMEvent
getObject
public java.lang.Object getObject()
- Description copied from interface:
ARMEvent
- Retreive an object associated with this event. This method may
return
null
if the event internals need not or should
not be exposed externally.
- Specified by:
getObject
in interface ARMEvent
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.