static class BrokerImpl.TransactionalCache
extends java.lang.Object
implements java.util.Set, java.io.Serializable
Constructor and Description |
---|
BrokerImpl.TransactionalCache(boolean orderDirty) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object obj) |
boolean |
addAll(java.util.Collection coll) |
void |
addClean(StateManagerImpl sm)
Add the given instance to the clean cache.
|
void |
addDirty(StateManagerImpl sm)
Add the given instance to the dirty cache.
|
void |
clear() |
boolean |
contains(java.lang.Object obj) |
boolean |
containsAll(java.util.Collection coll) |
java.util.Collection |
copy()
Return a copy of all transactional state managers.
|
java.util.Collection |
copyDirty()
Return a copy of all dirty state managers.
|
void |
flushed(StateManagerImpl sm)
Transfer the given instance from the dirty cache to the clean cache.
|
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
boolean |
remove(java.lang.Object obj) |
boolean |
remove(StateManagerImpl sm)
Remove the given instance from the cache.
|
boolean |
removeAll(java.util.Collection coll) |
boolean |
retainAll(java.util.Collection c) |
int |
size() |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] arr) |
public BrokerImpl.TransactionalCache(boolean orderDirty)
public java.util.Collection copy()
public java.util.Collection copyDirty()
public void flushed(StateManagerImpl sm)
public void addClean(StateManagerImpl sm)
public void addDirty(StateManagerImpl sm)
public boolean remove(StateManagerImpl sm)
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.Set
public boolean contains(java.lang.Object obj)
contains
in interface java.util.Collection
contains
in interface java.util.Set
public boolean containsAll(java.util.Collection coll)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.Set
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.Set
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.Set
public int size()
size
in interface java.util.Collection
size
in interface java.util.Set
public boolean add(java.lang.Object obj)
add
in interface java.util.Collection
add
in interface java.util.Set
public boolean addAll(java.util.Collection coll)
addAll
in interface java.util.Collection
addAll
in interface java.util.Set
public boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection
remove
in interface java.util.Set
public boolean removeAll(java.util.Collection coll)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.Set
public boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.Set
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
public java.lang.Object[] toArray(java.lang.Object[] arr)
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.