Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » kernel » [javadoc | source]
org.apache.openjpa.kernel
static class: BrokerImpl.TransactionalCache [javadoc | source]
java.lang.Object
   org.apache.openjpa.kernel.BrokerImpl$TransactionalCache

All Implemented Interfaces:
    Serializable, Set

Transactional cache that holds soft refs to clean instances.
Constructor:
 public TransactionalCache(boolean orderDirty) 
Method from org.apache.openjpa.kernel.BrokerImpl$TransactionalCache Summary:
add,   addAll,   addClean,   addDirty,   clear,   contains,   containsAll,   copy,   copyDirty,   flushed,   isEmpty,   iterator,   remove,   remove,   removeAll,   retainAll,   size,   toArray,   toArray
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.kernel.BrokerImpl$TransactionalCache Detail:
 public boolean add(Object obj) 
 public boolean addAll(Collection coll) 
 public  void addClean(StateManagerImpl sm) 
    Add the given instance to the clean cache.
 public  void addDirty(StateManagerImpl sm) 
    Add the given instance to the dirty cache.
 public  void clear() 
 public boolean contains(Object obj) 
 public boolean containsAll(Collection coll) 
 public Collection copy() 
    Return a copy of all transactional state managers.
 public Collection copyDirty() 
    Return a copy of all dirty state managers.
 public  void flushed(StateManagerImpl sm) 
    Transfer the given instance from the dirty cache to the clean cache.
 public boolean isEmpty() 
 public Iterator iterator() 
 public boolean remove(StateManagerImpl sm) 
    Remove the given instance from the cache.
 public boolean remove(Object obj) 
 public boolean removeAll(Collection coll) 
 public boolean retainAll(Collection c) 
 public int size() 
 public Object[] toArray() 
 public Object[] toArray(Object[] arr)