Static Public Member Functions | |
static Collection | configuredCollection (Collection storedCollection, CursorConfig config) |
static List | configuredList (List storedList, CursorConfig config) |
static Map | configuredMap (Map storedMap, CursorConfig config) |
static Set | configuredSet (Set storedSet, CursorConfig config) |
static SortedMap | configuredSortedMap (SortedMap storedSortedMap, CursorConfig config) |
static SortedSet | configuredSortedSet (SortedSet storedSortedSet, CursorConfig config) |
static Collection | dirtyReadCollection (Collection storedCollection) |
static List | dirtyReadList (List storedList) |
static Map | dirtyReadMap (Map storedMap) |
static Set | dirtyReadSet (Set storedSet) |
static SortedMap | dirtyReadSortedMap (SortedMap storedSortedMap) |
static SortedSet | dirtyReadSortedSet (SortedSet storedSortedSet) |
static Iterator | iterator (Iterator storedIterator) |
When a container is created with a particular property, all containers and iterators derived from that container will inherit the property. For example, if a read-uncommitted Map is created then calls to its subMap(), values(), entrySet(), and keySet() methods will create read-uncommitted containers also.
Method names beginning with "configured" create a new container with a specified CursorConfig from a given stored container. This allows configuring a container for read-committed isolation, read-uncommitted isolation, or any other property supported by CursorConfig
. All operations performed with the resulting container will be performed with the specified cursor configuration.
Definition at line 44 of file StoredCollections.java.
|
Creates a configured collection from a given stored collection.
Definition at line 62 of file StoredCollections.java. Referenced by dirtyReadCollection(). |
|
Creates a configured list from a given stored list. Note that this method may not be called in the JE product, since the StoredList class is not supported.
Definition at line 86 of file StoredCollections.java. Referenced by dirtyReadList(). |
|
Creates a configured map from a given stored map.
Definition at line 105 of file StoredCollections.java. Referenced by dirtyReadMap(). |
|
Creates a configured set from a given stored set.
Definition at line 124 of file StoredCollections.java. Referenced by dirtyReadSet(). |
|
Creates a configured sorted map from a given stored sorted map.
Definition at line 143 of file StoredCollections.java. Referenced by dirtyReadSortedMap(). |
|
Creates a configured sorted set from a given stored sorted set.
Definition at line 164 of file StoredCollections.java. Referenced by dirtyReadSortedSet(). |
|
Definition at line 177 of file StoredCollections.java. References configuredCollection(). |
|
Definition at line 189 of file StoredCollections.java. References configuredList(). |
|
Definition at line 200 of file StoredCollections.java. References configuredMap(). |
|
Definition at line 211 of file StoredCollections.java. References configuredSet(). |
|
Definition at line 223 of file StoredCollections.java. References configuredSortedMap(). |
|
Definition at line 236 of file StoredCollections.java. References configuredSortedSet(). |
|
Clones a stored iterator preserving its current position.
Definition at line 254 of file StoredCollections.java. |