|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeBehavior
TreeBehavior is an interface and is a part of the Taxation scheme which we are not implementing.
Method Summary | |
---|---|
void |
joinNextStripe(Node myNode)
Tells the node to join another stripe. |
void |
partStripe(Node myNode)
Tells this behavior to remove the Node from a stripe, to reduce its subscription level by one. |
boolean |
wantJoinMore(Node myNode)
Returns true if the Node wants to join more stripes. |
Method Detail |
---|
boolean wantJoinMore(Node myNode)
myNode
- non-null Node to which this behavior belongs.
void joinNextStripe(Node myNode)
myNode
- non-null Node to which this behavior belongs.
java.lang.IllegalStateException
- if wantJoinMore(Fairness.Nodes.Node)
returns false.void partStripe(Node myNode)
myNode
- non-null Node to which this behavior belongs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |