|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DLPAGraphBuilder
Graph builder interface for use with the distributed label propagation algorithm implementation. It includes necessary additional information for that algorithm (object use information and cache conflicts, used to find graph links to other nodes), as well as a way to remove failed nodes.
| Method Summary | |
|---|---|
Map<Long,Map<Object,Long>> |
getConflictMap()
Returns a map of detected cross node data conflicts. |
Map<Object,Map<Identity,Long>> |
getObjectUseMap()
Returns a map of local object uses to the identities that used the objects, and a count of the number of uses. |
void |
removeNode(long nodeId)
Note that a node has failed. |
| Methods inherited from interface com.sun.sgs.impl.service.nodemap.affinity.graph.AffinityGraphBuilder |
|---|
disable, enable, getAffinityGraph, getAffinityGroupFinder, getVertex, shutdown, updateGraph |
| Method Detail |
|---|
Map<Object,Map<Identity,Long>> getObjectUseMap()
Map<Long,Map<Object,Long>> getConflictMap()
void removeNode(long nodeId)
nodeId is
unknown or has already been noted as failed.
nodeId - the id of the failed node
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||