|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheServiceMBean
Method Summary | |
---|---|
long |
getKeyCacheCapacityInBytes()
|
long |
getKeyCacheCapacityInMB()
|
long |
getKeyCacheHits()
|
double |
getKeyCacheRecentHitRate()
|
long |
getKeyCacheRequests()
|
int |
getKeyCacheSavePeriodInSeconds()
|
long |
getKeyCacheSize()
|
long |
getRowCacheCapacityInBytes()
|
long |
getRowCacheCapacityInMB()
|
long |
getRowCacheHits()
|
double |
getRowCacheRecentHitRate()
|
long |
getRowCacheRequests()
|
int |
getRowCacheSavePeriodInSeconds()
|
long |
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(long capacity)
|
void |
setKeyCacheSavePeriodInSeconds(int kcspis)
|
void |
setRowCacheCapacityInMB(long 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()
long getRowCacheCapacityInMB()
long getRowCacheCapacityInBytes()
void setRowCacheCapacityInMB(long capacity)
long getKeyCacheCapacityInMB()
long getKeyCacheCapacityInBytes()
void setKeyCacheCapacityInMB(long capacity)
long getRowCacheSize()
long 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 |