|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheServiceMBean
Method Summary | |
---|---|
int |
getKeyCacheCapacityInBytes()
|
int |
getKeyCacheCapacityInMB()
|
long |
getKeyCacheHits()
|
double |
getKeyCacheRecentHitRate()
|
long |
getKeyCacheRequests()
|
int |
getKeyCacheSavePeriodInSeconds()
|
int |
getKeyCacheSize()
|
int |
getRowCacheCapacityInBytes()
|
int |
getRowCacheCapacityInMB()
|
long |
getRowCacheHits()
|
double |
getRowCacheRecentHitRate()
|
long |
getRowCacheRequests()
|
int |
getRowCacheSavePeriodInSeconds()
|
int |
getRowCacheSize()
|
void |
invalidateKeyCache()
invalidate the key cache; for use after invalidating row cache |
void |
invalidateRowCache()
invalidate the row cache; for use after bulk loading via BinaryMemtable |
void |
reduceCacheSizes()
sets each cache's maximum capacity to "reduce_cache_capacity_to" of its current size |
void |
saveCaches()
save row and key caches |
void |
setKeyCacheCapacityInMB(int capacity)
|
void |
setKeyCacheSavePeriodInSeconds(int kcspis)
|
void |
setRowCacheCapacityInMB(int capacity)
|
void |
setRowCacheSavePeriodInSeconds(int rcspis)
|
Method Detail |
---|
long getKeyCacheHits()
long getRowCacheHits()
long getKeyCacheRequests()
long getRowCacheRequests()
double getKeyCacheRecentHitRate()
double getRowCacheRecentHitRate()
int getRowCacheSavePeriodInSeconds()
void setRowCacheSavePeriodInSeconds(int rcspis)
int getKeyCacheSavePeriodInSeconds()
void setKeyCacheSavePeriodInSeconds(int kcspis)
void invalidateKeyCache()
void invalidateRowCache()
int getRowCacheCapacityInMB()
int getRowCacheCapacityInBytes()
void setRowCacheCapacityInMB(int capacity)
int getKeyCacheCapacityInMB()
int getKeyCacheCapacityInBytes()
void setKeyCacheCapacityInMB(int capacity)
int getRowCacheSize()
int getKeyCacheSize()
void reduceCacheSizes()
void saveCaches() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
java.util.concurrent.ExecutionException
- when attempting to retrieve the result of a task that aborted by throwing an exception
java.lang.InterruptedException
- when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |