public static interface OffHeapConcurrentMap.EntryListener
Modifier and Type | Method and Description |
---|---|
void |
entryCreated(long newAddress)
Invoked when an entry is about to be created.
|
void |
entryRemoved(long removedAddress)
Invoked when an entry is about to be removed.
|
void |
entryReplaced(long newAddress,
long oldAddress)
Invoked when an entry is about to be replaced with a new one.
|
void |
entryRetrieved(long entryAddress)
Invoked when an entry is successfully retrieved.
|
boolean |
resize(int pointerCount)
Invoked when a resize event occurs.
|
boolean resize(int pointerCount)
pointerCount
- the change in pointersvoid entryCreated(long newAddress)
newAddress
- the address just created that will be the new entryvoid entryRemoved(long removedAddress)
removedAddress
- the address about to be removedvoid entryReplaced(long newAddress, long oldAddress)
newAddress
- the address just created that will be the new entryoldAddress
- the old address for this entry that will be soon removedvoid entryRetrieved(long entryAddress)
entryAddress
- the address of the entry retrievedCopyright © 2021 JBoss by Red Hat. All rights reserved.