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.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Setpublic boolean contains(java.lang.Object obj)
contains in interface java.util.Collectioncontains in interface java.util.Setpublic boolean containsAll(java.util.Collection coll)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Setpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Setpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.Setpublic int size()
size in interface java.util.Collectionsize in interface java.util.Setpublic boolean add(java.lang.Object obj)
add in interface java.util.Collectionadd in interface java.util.Setpublic boolean addAll(java.util.Collection coll)
addAll in interface java.util.CollectionaddAll in interface java.util.Setpublic boolean remove(java.lang.Object obj)
remove in interface java.util.Collectionremove in interface java.util.Setpublic boolean removeAll(java.util.Collection coll)
removeAll in interface java.util.CollectionremoveAll in interface java.util.Setpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in interface java.util.Setpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic java.lang.Object[] toArray(java.lang.Object[] arr)
toArray in interface java.util.CollectiontoArray in interface java.util.SetCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.