Interface IntrusiveSoftLRU.Node<T extends IntrusiveSoftLRU.Node<T>>
- Type Parameters:
T- the actual node type
- All Known Implementing Classes:
IntrusiveSoftLRU.Node.Impl,PageCache.IntrusivePage
- Enclosing class:
- IntrusiveSoftLRU<T>
public static interface IntrusiveSoftLRU.Node<T extends IntrusiveSoftLRU.Node<T>>
An intrusive node for storing items in the cache.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIntrusiveSoftLRU.Node.Adapter<T extends IntrusiveSoftLRU.Node<T>>A basic adapter class forIntrusiveSoftLRU.Nodeitems in the cache.static classIntrusiveSoftLRU.Node.Impl<T extends IntrusiveSoftLRU.Node.Impl<T>>The base node implementation for items in the cache. -
Method Summary
Modifier and Type Method Description SoftReference<T>getOwner()intgetSlot()voidsetSlot(int slot)
-
Method Details
-
getOwner
SoftReference<T> getOwner() -
getSlot
int getSlot() -
setSlot
void setSlot(int slot)
-