org.infinispan.tree
Class TreeContext
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeContext
public TreeContext()
hasFlag
public boolean hasFlag(Flag o)
- Specified by:
hasFlag
in interface FlagContainer
getFlags
public EnumSet<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
addFlag
public void addFlag(Flag flag)
addFlags
public void addFlags(Flag[] flags)
remove
public void remove(Flag flag)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.