Modifier | Constructor and Description |
---|---|
protected |
CacheBucket(String bucketName) |
Modifier and Type | Method and Description |
---|---|
void |
closeBucket() |
void |
configure(CacheConfig config) |
boolean |
containsItem(String key) |
int |
getCachedItems() |
CachableItem |
getItem(String key) |
long |
getMemSize() |
String |
getName() |
void |
put(String key,
CachableItem cacheItem) |
void |
remove(String key) |
void |
runInvalidator() |
void |
updateAccess(String key) |
protected CacheBucket(String bucketName)
public void configure(CacheConfig config) throws CoreConfigException
configure
in interface Bucket
CoreConfigException
public void closeBucket()
closeBucket
in interface Bucket
public void put(String key, CachableItem cacheItem)
public void updateAccess(String key)
public boolean containsItem(String key)
containsItem
in interface Bucket
public CachableItem getItem(String key)
public long getMemSize()
getMemSize
in interface Bucket
public int getCachedItems()
getCachedItems
in interface Bucket
public void runInvalidator()
Copyright © 2015. All rights reserved.