org.infinispan.tree
Class TreeContext

java.lang.Object
  extended by org.infinispan.tree.TreeContext
All Implemented Interfaces:
FlagContainer

public class TreeContext
extends Object
implements FlagContainer

Tree invocation context primarily used to hold flags that should be set for all cache operations within a single tree cache operation.

Since:
4.2
Author:
Galder ZamarreƱo

Constructor Summary
TreeContext()
           
 
Method Summary
 Set<Flag> getFlags()
           
 boolean hasFlag(Flag o)
           
 void reset()
           
 void setFlags(Collection<Flag> flags)
           
 void setFlags(Flag... flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeContext

public TreeContext()
Method Detail

hasFlag

public boolean hasFlag(Flag o)
Specified by:
hasFlag in interface FlagContainer

getFlags

public Set<Flag> getFlags()
Specified by:
getFlags in interface FlagContainer

setFlags

public void setFlags(Flag... flags)
Specified by:
setFlags in interface FlagContainer

setFlags

public void setFlags(Collection<Flag> flags)
Specified by:
setFlags in interface FlagContainer

reset

public void reset()
Specified by:
reset in interface FlagContainer


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.