org.terracotta.context
Interface ContextManager.Dissociation

Enclosing class:
ContextManager

public static interface ContextManager.Dissociation

Removes existing parent and child associations from the target context node.

Mutations performed to the parent and child node sets of the target node are also accompanied by the equivalent changes to the reverse relationship in the supplied object's context node. This ensures that parent/child relationships are properly consistent.


Method Summary
 ContextManager.Dissociation fromChild(Object child)
          Removes the supplied object's context from the child node set of the target context node.
 ContextManager.Dissociation fromParent(Object parent)
          Removes the supplied object's context from the parent node set of the target context node.
 

Method Detail

fromChild

ContextManager.Dissociation fromChild(Object child)
Removes the supplied object's context from the child node set of the target context node.

Parameters:
child - object whose context node will be dissociated
Returns:
this dissociation object

fromParent

ContextManager.Dissociation fromParent(Object parent)
Removes the supplied object's context from the parent node set of the target context node.

Parameters:
parent - object whose context node will be dissociated
Returns:
this dissociation object


Copyright © 2015. All Rights Reserved.