com.sun.enterprise.ee.cms.impl.common
Class FailureRecoverySignalImpl
java.lang.Object
com.sun.enterprise.ee.cms.impl.common.FailureNotificationSignalImpl
com.sun.enterprise.ee.cms.impl.common.FailureRecoverySignalImpl
- All Implemented Interfaces:
- FailureNotificationSignal, FailureRecoverySignal, Signal
public class FailureRecoverySignalImpl
- extends FailureNotificationSignalImpl
- implements FailureRecoverySignal
Implements the FailureRecoverySignal Interface and provides operations
corresponding to a recovery oriented Signal's behavior
- Version:
- $Revision: 1.2 $
- Author:
- Shreedhar Ganapathy
Date: November 07, 2003
Method Summary |
void |
acquire()
Must be called by client before beginning any recovery operation
in order to get support of failure fencing. |
String |
getComponentName()
|
void |
release()
Must be called by client after recovery operation is complete
to bring the group state up-to-date on this recovery operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailureRecoverySignalImpl
public FailureRecoverySignalImpl(String componentName,
String failedMember,
String groupName,
long startTime)
acquire
public void acquire()
throws SignalAcquireException
- Must be called by client before beginning any recovery operation
in order to get support of failure fencing.
- Specified by:
acquire
in interface Signal
- Overrides:
acquire
in class FailureNotificationSignalImpl
- Throws:
SignalAcquireException
release
public void release()
throws SignalReleaseException
- Must be called by client after recovery operation is complete
to bring the group state up-to-date on this recovery operation.
Not doing so will leave a stale entry in the group's state.
- Specified by:
release
in interface Signal
- Overrides:
release
in class FailureNotificationSignalImpl
- Throws:
SignalReleaseException
getComponentName
public String getComponentName()
- Specified by:
getComponentName
in interface FailureRecoverySignal
Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.