Package | Description |
---|---|
com.tangosol.io.pof |
Contains classes related to POF serialization and deserialization.
|
com.tangosol.io.pof.reflect |
Contains classes related to POF stream navigation and manipulation.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
com.tangosol.persistence |
Contains classes and helpers for implementing various types of persistence.
|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Field and Description |
---|---|
protected LongArray |
PofBufferReader.m_arrayRefs
Lazily-constructed mapping of identities to references.
|
protected LongArray |
SimplePofContext.m_laClass
A LongArray of user types, indexed by type identifier.
|
protected LongArray |
SimplePofContext.m_laSerializer
A LongArray of PofSerializer objects, indexed by type identifier.
|
Modifier and Type | Method and Description |
---|---|
protected LongArray |
PofBufferReader.ensureReferenceRegistry()
Obtain the registry for identity-reference pairs, creating it if
necessary.
|
LongArray |
PofBufferReader.readLongArray(int iProp,
LongArray array)
Read a LongArray of object values.
|
<T> LongArray<T> |
PofReader.readLongArray(int iProp,
LongArray<T> array)
Read a LongArray of object values.
|
Modifier and Type | Method and Description |
---|---|
LongArray |
PofBufferReader.readLongArray(int iProp,
LongArray array)
Read a LongArray of object values.
|
<T> LongArray<T> |
PofReader.readLongArray(int iProp,
LongArray<T> array)
Read a LongArray of object values.
|
void |
PofBufferWriter.writeLongArray(int iProp,
LongArray la) |
<T> void |
PofWriter.writeLongArray(int iProp,
LongArray<? extends T> la)
Write a LongArray property to the POF stream.
|
<T> void |
PofWriter.writeLongArray(int iProp,
LongArray<T> la,
Class<T> clz)
Write a uniform LongArray property to the POF stream.
|
void |
PofBufferWriter.writeLongArray(int iProp,
LongArray la,
Class clz)
Write a uniform LongArray property to the POF stream.
|
Modifier and Type | Field and Description |
---|---|
protected LongArray |
AbstractPofValue.m_arrayRefs
Lazily-constructed mapping of identities to references.
|
Modifier and Type | Field and Description |
---|---|
protected Class<LongArray<Object>> |
Codecs.LongArrayCodec.f_clzLa
Class that represents the LongArray implementation that will be
serialized and deserialized into.
|
Modifier and Type | Method and Description |
---|---|
protected LongArray |
AbstractPofValue.ensureReferenceRegistry()
Obtain the registry for identity-reference pairs, creating it if
necessary.
|
Constructor and Description |
---|
LongArrayCodec(Class<LongArray<Object>> clzLa)
Construct a LongArrayCodec.
|
Modifier and Type | Field and Description |
---|---|
protected LongArray |
OldCache.m_arrayExpiry
Deprecated.
Array of set of keys, indexed by the time of expiry.
|
Modifier and Type | Method and Description |
---|---|
protected LongArray |
OverflowMap.getExpiryArray()
Obtain the array of keys that have an expiration, indexed by expiration
times.
|
protected LongArray |
SerializationCache.getExpiryArray()
Get the Expiry data structure.
|
protected LongArray |
SerializationCache.getLruArray()
Get the LRU data structure.
|
protected LongArray |
ReadWriteBackingMap.WriteQueue.getRipeArray()
Return a
LongArray indexed by ripe time (when entries become
eligible to be written), and associated to a list of binary keys. |
Modifier and Type | Method and Description |
---|---|
protected void |
OverflowMap.setExpiryArray(LongArray laExpiry)
Specify the array of keys that have an expiration, indexed by
expiration times.
|
Modifier and Type | Method and Description |
---|---|
static LongArray<String> |
CachePersistenceHelper.getCacheNames(com.oracle.coherence.persistence.PersistentStore<ReadBuffer> store)
Return the cache names that have been
stored
in the specified store. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPersistenceTools.StatsVisitor.setCaches(LongArray laCaches)
Set the
LongArray of caches for this visitor. |
static void |
CachePersistenceHelper.storeCacheNames(com.oracle.coherence.persistence.PersistentStore store,
LongArray laCaches)
Persist the specified cache names in the persistent store.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLongArray<V>
An implementation of portions of the LongArray interface.
|
class |
AbstractSafeLongArray<V>
An abstract base class for thread-safe
LongArray s which are protected by lock(s). |
class |
AbstractSparseArray<V>
A data structure resembling an array indexed by long values, stored as an
AVL tree.
|
static class |
ConverterCollections.ConverterLongArray<F,T>
ConverterLongArray converts the value of the LongArray from its raw form
(type
F ) to the desired from (type T ). |
class |
CopyOnWriteLongArray<V>
A thread-safe variant of
LongArray in which all mutating operations
(e.g. |
class |
PrimitiveSparseArray
A data structure resembling a long array indexed by long values.
|
class |
ReadHeavyLongArray<V>
A thread-safe LongArray implementation for read heavy workloads but which is also efficient with frequent and/or
bursty writes.
|
class |
SafeLongArray<V>
A thread-safe variant of
LongArray in which is protected by a ReentrantLock. |
class |
SimpleLongArray
An implementation of LongArray that stores values in an array, thus is
actually an "IntArray".
|
class |
SparseArray<V>
A data structure resembling an Object array indexed by long values.
|
static class |
WrapperCollections.AbstractWrapperLongArray<V>
Abstract wrapper implementation for LongArrays.
|
Modifier and Type | Field and Description |
---|---|
protected static LongArray |
CopyOnWriteLongArray.EMPTY_ARRAY
An empty placeholder array.
|
protected LongArray<F> |
ConverterCollections.ConverterLongArray.f_laDelegate
The LongArray to delegate to.
|
Modifier and Type | Field and Description |
---|---|
protected com.oracle.coherence.common.util.AutoLock<LongArray<V>> |
SafeLongArray.f_lock
The lock to hold during read and write operations.
|
protected com.oracle.coherence.common.util.AutoLock<LongArray<V>> |
ReadHeavyLongArray.f_lockWrite
The write lock, delegating to the one in the super class.
|
protected com.oracle.coherence.common.util.AutoLock<LongArray<V>> |
ReadHeavyLongArray.m_lockRead
The mutable read lock.
|
Modifier and Type | Method and Description |
---|---|
LongArray<V> |
LongArray.clone()
Make a clone of the LongArray.
|
LongArray<T> |
ConverterCollections.ConverterLongArray.clone() |
LongArray<V> |
CopyOnWriteLongArray.copyArray(LongArray<V> array)
Return a shallow copy of the specified LongArray.
|
protected LongArray<V> |
CopyOnWriteLongArray.delegate()
Return the internal LongArray.
|
protected abstract LongArray<V> |
WrapperCollections.AbstractWrapperLongArray.delegate()
Return the delegate LongArray.
|
static <F,T> LongArray<T> |
ConverterCollections.getLongArray(LongArray<F> la,
Converter<F,T> convUp,
Converter<T,F> convDown)
Returns a LongArray storing values with type
F and converting
to type V as and when required. |
protected LongArray |
TaskDaemon.getTasks()
Obtain the pending tasks.
|
Modifier and Type | Method and Description |
---|---|
protected abstract com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
AbstractSafeLongArray.acquireReadLock()
Acquire the read lock.
|
protected com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
ReadHeavyLongArray.acquireReadLock() |
protected com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
SafeLongArray.acquireReadLock() |
protected abstract com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
AbstractSafeLongArray.acquireWriteLock()
Acquire the write lock.
|
protected com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
ReadHeavyLongArray.acquireWriteLock() |
protected com.oracle.coherence.common.util.AutoLock.Sentry<LongArray<V>> |
SafeLongArray.acquireWriteLock() |
com.oracle.coherence.common.util.AutoLock<LongArray<V>> |
SafeLongArray.getLock()
Return the lock used to protect this LongArray, with the unsafe delegate as its
resource . |
Modifier and Type | Method and Description |
---|---|
LongArray<V> |
CopyOnWriteLongArray.copyArray(LongArray<V> array)
Return a shallow copy of the specified LongArray.
|
static <F,T> LongArray<T> |
ConverterCollections.getLongArray(LongArray<F> la,
Converter<F,T> convUp,
Converter<T,F> convDown)
Returns a LongArray storing values with type
F and converting
to type V as and when required. |
protected void |
CopyOnWriteLongArray.setDelegate(LongArray<V> array)
Set the internal LongArray.
|
Constructor and Description |
---|
ConverterLongArray(LongArray<F> laDelegate,
Converter<F,T> convUp,
Converter<T,F> convDown)
Construct a LongArray that converts the values from type
F
to type T . |
CopyOnWriteLongArray(LongArray<V> array)
Construct a CopyOnWriteLongArray, initialized with the contents of the
specified LongArray.
|
ReadHeavyLongArray(LongArray<V> delegate)
Construct a ReadHeavyLongArray around the specified delegate.
|
SafeIterator(LongArray<V> delegate,
boolean fForward,
long lIndexFrom) |
SafeLongArray(LongArray<V> laDelegate)
Construct a new SafeLongArray around the specified delegate.
|
Constructor and Description |
---|
CopyOnWriteLongArray(Class<? extends LongArray<V>> clazz)
Construct a CopyOnWriteLongArray with an underlying array of the specified
type.
|