|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFairness.Nodes.TreeBehaviors.AbstractTreeBehavior
public class AbstractTreeBehavior
AbstractTreeBehavior is a part of the Taxation scheme currently not implemented in our project.
| Constructor Summary | |
|---|---|
AbstractTreeBehavior()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTreeBehavior()
| Method Detail |
|---|
public boolean wantJoinMore(Node myNode)
wantJoinMore in interface TreeBehaviormyNode - non-null Node to which this behavior belongs.
public void joinNextStripe(Node myNode)
joinNextStripe in interface TreeBehaviormyNode - non-null Node to which this behavior belongs.
java.lang.IllegalStateException - if wantJoinMore(Fairness.Nodes.Node) returns false.public void partStripe(Node myNode)
partStripe in interface TreeBehaviormyNode - non-null Node to which this behavior belongs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||