SilverStream
Application Server 3.5

com.sssw.srv.busobj
Interface AgiClusterListener


public interface AgiClusterListener

Implemented by all business objects which listen for cluster events which include cluster server start and cluster server stop.

When a clustered triggered business object is created, SilverStream automatically adds the implements AgiClusterListener clause to the object's class definition.


Method Summary
 void clusterServerStarted(AgoClusterServerStartEvent e)
          Fires when a server in the cluster is started.
 void clusterServerStopped(AgoClusterServerStopEvent e)
          Fires when a server in the cluster is no longer reachable.
 

Method Detail

clusterServerStarted

public void clusterServerStarted(AgoClusterServerStartEvent e)
Fires when a server in the cluster is started. Specifically when the cache manager hears from a server in the cluster. There is no way to differentiate between a server being added to the cluster configuration (and therefore joining in for the first time) and a server coming up after being down for a while.
Parameters:
e - an instance of the AgoClusterServerStartEvent.
See Also:
AgoClusterServerStartEvent

clusterServerStopped

public void clusterServerStopped(AgoClusterServerStopEvent e)
Fires when a server in the cluster is no longer reachable. Specifically this means that the cache manager was not able to ping a server in the cluster for some time and assumes that it is now down.
Parameters:
e - an instance of the AgoClusterServerStopEvent.
See Also:
AgoClusterServerStopEvent

SilverStream
Application Server 3.5