static class BrokerImpl.TransactionalCache extends Object implements Set, Serializable
Constructor and Description |
---|
BrokerImpl.TransactionalCache(boolean orderDirty) |
Modifier and Type | Method and Description |
---|---|
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) |
public BrokerImpl.TransactionalCache(boolean orderDirty)
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()
public boolean contains(Object obj)
contains
in interface Collection
contains
in interface Set
public boolean containsAll(Collection coll)
containsAll
in interface Collection
containsAll
in interface Set
public void clear()
clear
in interface Collection
clear
in interface Set
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface Set
public int size()
size
in interface Collection
size
in interface Set
public boolean add(Object obj)
add
in interface Collection
add
in interface Set
public boolean addAll(Collection coll)
addAll
in interface Collection
addAll
in interface Set
public boolean remove(Object obj)
remove
in interface Collection
remove
in interface Set
public boolean removeAll(Collection coll)
removeAll
in interface Collection
removeAll
in interface Set
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface Set
public Object[] toArray()
toArray
in interface Collection
toArray
in interface Set
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.