ClusterListener (ActiveCluster 1.0 API)
Keywords: org.codehaus.activecluster.ClusterListener interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activecluster
Interface ClusterListener

All Superinterfaces:
  EventListener

public interface ClusterListener
extends EventListener

Listener to events occuring on the cluster

Version:
  $Revision: 1.3 $

Method Summary
`void` | `onCoordinatorChanged(ClusterEvent event)` An election has occurred and a new coordinator has been selected
`void` | `onNodeAdd(ClusterEvent event)` A new node has been added
`void` | `onNodeFailed(ClusterEvent event)` A node has failed due to process or network failure
`void` | `onNodeRemoved(ClusterEvent event)` A node has been removed (a clean shutdown)
`void` | `onNodeUpdate(ClusterEvent event)` A node has updated its state

Method Detail

### onNodeAdd

    public void onNodeAdd(ClusterEvent event)

  A new node has been added

  Parameters:
    `event` -

### onNodeUpdate

    public void onNodeUpdate(ClusterEvent event)

  A node has updated its state

  Parameters:
    `event` -

### onNodeRemoved

    public void onNodeRemoved(ClusterEvent event)

  A node has been removed (a clean shutdown)

  Parameters:
    `event` -

### onNodeFailed

    public void onNodeFailed(ClusterEvent event)

  A node has failed due to process or network failure

  Parameters:
    `event` -

### onCoordinatorChanged

    public void onCoordinatorChanged(ClusterEvent event)

  An election has occurred and a new coordinator has been selected

  Parameters:
    `event` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.