Package | Description |
---|---|
org.castor.cache.hashbelt |
The Hashbelt API
|
org.castor.cache.hashbelt.container | |
org.castor.cache.hashbelt.reaper |
Modifier and Type | Field and Description |
---|---|
static Class<? extends Container> |
AbstractHashbelt.DEFAULT_CONTAINER_CLASS
Default container class.
|
Modifier and Type | Class and Description |
---|---|
class |
FastIteratingContainer
The FastIteratingContainer implementation of the Container interface assuems two
things:
Puts and removes are rare in proportion to gets and iteration are common.
|
class |
MapContainer
A very basic, HashMap-based implementation of the hashmap container strategy,
using nothing more than a basic hashmap to store key/value pairs.
|
class |
WeakReferenceContainer
An implementation of a container that uses weak references for storing values
in the map, so that values can be removed from the map by the system when the
system is under memory pressure.
|
Modifier and Type | Method and Description |
---|---|
void |
ReinsertingReaper.handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
void |
RefreshingReaper.handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
void |
NotifyingReaper.handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
void |
NullReaper.handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
void |
Reaper.handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
Copyright © 2016. All rights reserved.