Package | Description |
---|---|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
Modifier and Type | Method and Description |
---|---|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.add(ReadWriteBackingMap.Entry entryNew,
long cDelay)
Add an entry to the queue.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.instantiateEntry(Object oKey,
Object oValue,
Object oValueOrig)
Factory pattern: instantiate a queue entry.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.instantiateEntry(Object oKey,
Object oValue,
Object oValueOrig,
long cExpiry)
Factory pattern: instantiate a queue entry.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.StoreWrapper.load(Object binKey)
Return the entry associated with the specified key, or null if the
key does not have an associated value in the underlying store.
|
protected abstract ReadWriteBackingMap.Entry |
ReadWriteBackingMap.StoreWrapper.loadInternal(Object binKey)
Load the entry associated with the specified key from the underlying
store.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.CacheStoreWrapper.loadInternal(Object binKey)
Load the entry associated with the specified key from the underlying
store.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.BinaryEntryStoreWrapper.loadInternal(Object binKey)
Load the entry associated with the specified key from the underlying
store.
|
ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.remove()
Wait for item in the queue to ripen (to be ready to be removed), and
when there is one and it is ripe, then remove and return it.
|
ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.remove(long cMillis)
Wait for the next item in the queue to ripen (to be ready to be
removed), and remove and return it, or return null if the specified
wait time has passed.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.remove(Object binKey,
boolean fWriteBehind)
Remove a key from the queue if the key is in the queue.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.removeFromWriteQueue(Object binKey)
Remove the specified entry from the WriteQueue.
|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.removeImmediate()
Remove the first key from the queue immediately.
|
ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.removeNoWait()
Check for a ripe or soft-ripe item in the queue, and if there is
one, return it; otherwise, return null.
|
Modifier and Type | Method and Description |
---|---|
protected ReadWriteBackingMap.Entry |
ReadWriteBackingMap.WriteQueue.add(ReadWriteBackingMap.Entry entryNew,
long cDelay)
Add an entry to the queue.
|
protected void |
ReadWriteBackingMap.StoreWrapper.erase(ReadWriteBackingMap.Entry binEntry)
Remove the specified entry from the underlying store.
|
protected abstract void |
ReadWriteBackingMap.StoreWrapper.eraseInternal(ReadWriteBackingMap.Entry binEntry)
Remove the specified entry from the underlying store.
|
protected void |
ReadWriteBackingMap.CacheStoreWrapper.eraseInternal(ReadWriteBackingMap.Entry binEntry)
Remove the specified entry from the underlying store.
|
protected void |
ReadWriteBackingMap.BinaryEntryStoreWrapper.eraseInternal(ReadWriteBackingMap.Entry binEntry)
Remove the specified entry from the underlying store.
|
protected long |
ReadWriteBackingMap.extractExpiry(ReadWriteBackingMap.Entry entry)
Return the expiration value for the given entry.
|
protected com.tangosol.internal.tracing.Span.Builder |
ReadWriteBackingMap.CacheStoreWrapper.newSpan(String sOperation,
ReadWriteBackingMap.Entry entry)
Return a
Span.Builder for a given operation on an entry. |
protected void |
ReadWriteBackingMap.StoreWrapper.onEraseFailure(ReadWriteBackingMap.Entry entry,
Exception e)
Logs a store erase() failure.
|
protected void |
ReadWriteBackingMap.StoreWrapper.onStoreFailure(ReadWriteBackingMap.Entry entry,
Exception e)
Logs a store store() failure.
|
protected void |
ReadWriteBackingMap.putToInternalCache(ReadWriteBackingMap.Entry entry)
Add the key and value pair to the internal cache in such a way that the
resulting map event would be marked as "synthetic".
|
protected void |
ReadWriteBackingMap.StoreWrapper.replace(ReadWriteBackingMap.Entry entry)
Replace the value in the internal cache for the specified entry.
|
protected boolean |
ReadWriteBackingMap.StoreWrapper.requeue(ReadWriteBackingMap.WriteQueue queue,
int cThreshold,
ReadWriteBackingMap.Entry entry)
Requeue the specified entry.
|
protected void |
ReadWriteBackingMap.StoreWrapper.store(ReadWriteBackingMap.Entry binEntry,
boolean fAllowChange)
Store the specified entry in the underlying store.
|
protected abstract void |
ReadWriteBackingMap.StoreWrapper.storeInternal(ReadWriteBackingMap.Entry binEntry)
Store the specified entry in the underlying store.
|
protected void |
ReadWriteBackingMap.CacheStoreWrapper.storeInternal(ReadWriteBackingMap.Entry binEntry)
Store the specified entry in the underlying store.
|
protected void |
ReadWriteBackingMap.BinaryEntryStoreWrapper.storeInternal(ReadWriteBackingMap.Entry binEntry)
Store the specified entry in the underlying store.
|
Modifier and Type | Method and Description |
---|---|
protected com.tangosol.internal.tracing.Span.Builder |
ReadWriteBackingMap.CacheStoreWrapper.newSpan(String sOperation,
Set<ReadWriteBackingMap.Entry> setEntry)
Return a
Span.Builder for a given operation on a set of entries |