com.sun.enterprise.ee.cms.impl.common
Class ShutdownHelper
java.lang.Object
com.sun.enterprise.ee.cms.impl.common.ShutdownHelper
public class ShutdownHelper
- extends Object
Provides support for maintaining information about an impending shutdown
announcement either in an instance context or in a group context. An instance
of this object is consulted for distinguishing an abnormal failure from a
planned shutdown resulting in a failure notification from heart beat agents.
Also consulted for determining if a member being suspected has already
announced shutdown or there is a group shutdown.
- Version:
- $Revision: 1.3 $
- Author:
- Shreedhar Ganapathy
Date: Sep 21, 2005
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShutdownHelper
public ShutdownHelper()
isGroupBeingShutdown
public boolean isGroupBeingShutdown(String groupName)
isMemberBeingShutdown
public boolean isMemberBeingShutdown(String memberToken)
addToGroupShutdownList
public void addToGroupShutdownList(String groupName)
addToGracefulShutdownList
public void addToGracefulShutdownList(String memberToken)
removeFromGracefulShutdownList
public void removeFromGracefulShutdownList(String memberToken)
removeFromGroupShutdownList
public void removeFromGroupShutdownList(String groupName)
Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.