public final class StoredListFactory extends Object
IStoredList
implementation, according to the Java version the
sources were compiled. This is due to performance profiling conducted on both JDK1.4 and JDK1.5 -
Thus, using 1.4 will return IStoredList
, and using 1.5 will return SimpleLockStoredList
.Constructor and Description |
---|
StoredListFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> IStoredList<T> |
createConcurrentList(boolean supportsFifo)
Creates a concurrent stored list - used for highly concurrent lists.
|
static <T> IStoredList<T> |
createConcurrentSegmentedList(boolean supportsFifoPerSegment)
Creates a concurrent segmented stored list - used for highly concurrent lists.
|
static <T> IStoredList<T> |
createConcurrentSegmentedList(boolean segmented,
boolean supportFifoPerSegment,
Object StoredIndexValueInHashmap)
Creates a segmented stored list - used for highly concurrent lists.
|
static <T> IStoredList<T> |
createConcurrentSegmentedList(boolean supportsFifoPerSegment,
int numOfSegments,
boolean padded)
Creates a concurrent segmented stored list - used for highly concurrent lists.
|
static <T> IStoredList<T> |
createHashList()
Create Hashed StoredList
|
static <T> IStoredList<T> |
createList(boolean reuseLocks)
Returns a StoredList instance according to the JVM Version.
|
static <T> AbstractStoredList<T> |
createStoredList(boolean supportsRandomScans,
boolean reuseLocks) |
public static <T> IStoredList<T> createList(boolean reuseLocks)
getStoredList(false,false);
public static <T> IStoredList<T> createConcurrentList(boolean supportsFifo)
public static <T> IStoredList<T> createConcurrentSegmentedList(boolean supportsFifoPerSegment)
public static <T> IStoredList<T> createConcurrentSegmentedList(boolean supportsFifoPerSegment, int numOfSegments, boolean padded)
public static <T> IStoredList<T> createConcurrentSegmentedList(boolean segmented, boolean supportFifoPerSegment, Object StoredIndexValueInHashmap)
public static <T> AbstractStoredList<T> createStoredList(boolean supportsRandomScans, boolean reuseLocks)
public static <T> IStoredList<T> createHashList()
Copyright © GigaSpaces.