org.glassfish.gms.admin
Class GMSAnnounceBeforeStopClusterCommand

java.lang.Object
  extended by org.glassfish.gms.admin.GMSAnnounceBeforeStopClusterCommand
All Implemented Interfaces:
AdminCommand

@Service(name="_gms-announce-before-stop-cluster-command")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class GMSAnnounceBeforeStopClusterCommand
extends java.lang.Object
implements AdminCommand

Informs the dynamic group-management-service of Shoal GMS that all members of the cluster are stopping. The GMS Notification PlannedShutdownNotification will have a subeventype of GROUP_SHUTDOWN rather than INSTANCE_SHUTDOWN. GMS clients may take advantage of this information that the entire cluster is stopping rather than a single instance.


Constructor Summary
GMSAnnounceBeforeStopClusterCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMSAnnounceBeforeStopClusterCommand

public GMSAnnounceBeforeStopClusterCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand


Copyright © 2012 GlassFish Community. All Rights Reserved.