org.activecluster.group
Class MasterZoneFilter

java.lang.Object
  extended byorg.activecluster.group.MasterZoneFilter
All Implemented Interfaces:
NodeFilter

public class MasterZoneFilter
extends Object
implements NodeFilter

A filter configured with a list of DMZ zones on which to restrict which nodes are allowed to be master nodes.

Version:
$Revision: 1.1 $

Constructor Summary
MasterZoneFilter(List zones)
           
 
Method Summary
 boolean evaluate(Node node)
          Returns true if the given node matches the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterZoneFilter

public MasterZoneFilter(List zones)
Method Detail

evaluate

public boolean evaluate(Node node)
Description copied from interface: NodeFilter
Returns true if the given node matches the filter

Specified by:
evaluate in interface NodeFilter


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