BullyElectionStrategy (ActiveCluster 1.0 API)
Keywords: org.codehaus.activecluster.election.impl.BullyElectionStrategy class

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.election.impl
Class BullyElectionStrategy

    java.lang.Object
      org.codehaus.activecluster.election.impl.BullyElectionStrategy

All Implemented Interfaces:
  ElectionStrategy

public class BullyElectionStrategy
extends Object
implements ElectionStrategy

`BullyElectionStrategy` Use a simple bully algorithm to elect a coordinator. the member with the lowest lexicographical name is choosen

Version:
  $Revision: 1.2 $

Constructor Summary
`BullyElectionStrategy()`

Method Summary
`Node` | `doElection(Cluster cluster)` Elect a coordinator.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BullyElectionStrategy

    public BullyElectionStrategy()

Method Detail

### doElection

    public Node doElection(Cluster cluster)
                    throws JMSException

  Elect a coordinator.

  Specified by:
    `doElection` in interface `ElectionStrategy`
  Parameters:
    `cluster` -
  Returns:
    the elected Node
  Throws:
    `JMSException`

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.