public class OffHeapInternalCache extends Object implements IOffHeapInternalCache
Constructor and Description |
---|
OffHeapInternalCache(Properties properties) |
Modifier and Type | Method and Description |
---|---|
OffHeapEntryHolder |
get(OffHeapRefEntryCacheInfo entryCacheInfo) |
LongCounter |
getHitCount() |
LongCounter |
getMissCount() |
OffHeapInternalCacheInitialLoadFilter |
getOffHeapInternalCacheInitialLoadFilter() |
boolean |
isFull() |
void |
remove(OffHeapEntryHolder entry) |
void |
setOffHeapInternalCacheInitialLoadFilter(OffHeapInternalCacheInitialLoadFilter offHeapInternalCacheInitialLoadFilter) |
int |
size() |
void |
store(OffHeapEntryHolder entry) |
public OffHeapInternalCache(Properties properties)
public void setOffHeapInternalCacheInitialLoadFilter(OffHeapInternalCacheInitialLoadFilter offHeapInternalCacheInitialLoadFilter)
setOffHeapInternalCacheInitialLoadFilter
in interface IOffHeapInternalCache
public OffHeapEntryHolder get(OffHeapRefEntryCacheInfo entryCacheInfo)
get
in interface IOffHeapInternalCache
public void store(OffHeapEntryHolder entry)
store
in interface IOffHeapInternalCache
public void remove(OffHeapEntryHolder entry)
remove
in interface IOffHeapInternalCache
public boolean isFull()
isFull
in interface IOffHeapInternalCache
public int size()
size
in interface IOffHeapInternalCache
public OffHeapInternalCacheInitialLoadFilter getOffHeapInternalCacheInitialLoadFilter()
getOffHeapInternalCacheInitialLoadFilter
in interface IOffHeapInternalCache
public LongCounter getHitCount()
getHitCount
in interface IOffHeapInternalCache
public LongCounter getMissCount()
getMissCount
in interface IOffHeapInternalCache
Copyright © GigaSpaces.