|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.BrokerImpl.TransactionalCache
static class BrokerImpl.TransactionalCache
Transactional cache that holds soft refs to clean instances.
| Constructor Summary | |
|---|---|
BrokerImpl.TransactionalCache(boolean orderDirty)
|
|
| Method Summary | |
|---|---|
boolean |
add(Object obj)
|
boolean |
addAll(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(Object obj)
|
boolean |
containsAll(Collection coll)
|
Collection |
copy()
Return a copy of all transactional state managers. |
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()
|
Iterator |
iterator()
|
boolean |
remove(Object obj)
|
boolean |
remove(StateManagerImpl sm)
Remove the given instance from the cache. |
boolean |
removeAll(Collection coll)
|
boolean |
retainAll(Collection c)
|
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] arr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public BrokerImpl.TransactionalCache(boolean orderDirty)
| Method Detail |
|---|
public Collection copy()
public Collection copyDirty()
public void flushed(StateManagerImpl sm)
public void addClean(StateManagerImpl sm)
public void addDirty(StateManagerImpl sm)
public boolean remove(StateManagerImpl sm)
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setpublic boolean contains(Object obj)
contains in interface Collectioncontains in interface Setpublic boolean containsAll(Collection coll)
containsAll in interface CollectioncontainsAll in interface Setpublic void clear()
clear in interface Collectionclear in interface Setpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Setpublic int size()
size in interface Collectionsize in interface Setpublic boolean add(Object obj)
add in interface Collectionadd in interface Setpublic boolean addAll(Collection coll)
addAll in interface CollectionaddAll in interface Setpublic boolean remove(Object obj)
remove in interface Collectionremove in interface Setpublic boolean removeAll(Collection coll)
removeAll in interface CollectionremoveAll in interface Setpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface Setpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Setpublic Object[] toArray(Object[] arr)
toArray in interface CollectiontoArray in interface Set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||