com.sun.sgs.impl.service.nodemap.affinity
Interface LPAAffinityGroupFinder
- All Superinterfaces:
- AffinityGroupFinder
- All Known Implementing Classes:
- DistGraphBuilderServerImpl, LabelPropagationServer, SingleLabelPropagation
public interface LPAAffinityGroupFinder
- extends AffinityGroupFinder
The affinity group finder finds affinity groups within a
Darkstar cluster using the LPA algorithm.
findAffinityGroups
NavigableSet<RelocatingAffinityGroup> findAffinityGroups()
throws AffinityGroupFinderFailedException
- Finds affinity groups across all nodes in the Darkstar cluster.
If no groups are found, an empty set is returned. If an error is
encountered during a run, an
AffinityGroupFinderFailedException
is thrown. Errors include nodes not responding to server requests.
- Returns:
- the affinity groups, or an empty set if none are found
- Throws:
AffinityGroupFinderFailedException - if there is an error
IllegalStateException - if the finder is disabled or shut down
Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved