org.jboss.ha.framework.interfaces
Interface HASingletonElectionPolicy


public interface HASingletonElectionPolicy

HASingletonElectionPolicy.

Author:
Alex Fu, Brian Stansberry, Galder Zamarreno, Paul Ferraro

Method Summary
 ClusterNode elect(List<ClusterNode> nodes)
          Return the elected master node.
 

Method Detail

elect

ClusterNode elect(List<ClusterNode> nodes)
Return the elected master node.

Returns:
the master node or null if there're no possible master nodes.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.