public interface CacheServiceMBean
Modifier and Type | Method and Description |
---|---|
long |
getKeyCacheCapacityInBytes()
Deprecated.
|
long |
getKeyCacheCapacityInMB()
Deprecated.
|
long |
getKeyCacheEntries()
Deprecated.
|
long |
getKeyCacheHits()
Deprecated.
|
double |
getKeyCacheRecentHitRate()
Deprecated.
|
long |
getKeyCacheRequests()
Deprecated.
|
int |
getKeyCacheSavePeriodInSeconds() |
long |
getKeyCacheSize()
Deprecated.
|
long |
getRowCacheCapacityInBytes()
Deprecated.
|
long |
getRowCacheCapacityInMB()
Deprecated.
|
long |
getRowCacheEntries()
Deprecated.
|
long |
getRowCacheHits()
Deprecated.
|
double |
getRowCacheRecentHitRate()
Deprecated.
|
long |
getRowCacheRequests()
Deprecated.
|
int |
getRowCacheSavePeriodInSeconds() |
long |
getRowCacheSize()
Deprecated.
|
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 |
saveCaches()
save row and key caches
|
void |
setKeyCacheCapacityInMB(long capacity) |
void |
setKeyCacheSavePeriodInSeconds(int kcspis) |
void |
setRowCacheCapacityInMB(long capacity) |
void |
setRowCacheSavePeriodInSeconds(int rcspis) |
int getRowCacheSavePeriodInSeconds()
void setRowCacheSavePeriodInSeconds(int rcspis)
int getKeyCacheSavePeriodInSeconds()
void setKeyCacheSavePeriodInSeconds(int kcspis)
void invalidateKeyCache()
void invalidateRowCache()
void setRowCacheCapacityInMB(long capacity)
void setKeyCacheCapacityInMB(long capacity)
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 exceptionjava.lang.InterruptedException
- when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.@Deprecated long getKeyCacheHits()
CacheMetrics.hits
@Deprecated long getRowCacheHits()
CacheMetrics.hits
@Deprecated long getKeyCacheRequests()
CacheMetrics.requests
@Deprecated long getRowCacheRequests()
CacheMetrics.requests
@Deprecated double getKeyCacheRecentHitRate()
CacheMetrics.hitRate
@Deprecated double getRowCacheRecentHitRate()
CacheMetrics.hitRate
@Deprecated long getRowCacheCapacityInMB()
CacheMetrics.capacity
@Deprecated long getRowCacheCapacityInBytes()
CacheMetrics.capacity
@Deprecated long getKeyCacheCapacityInMB()
CacheMetrics.capacity
@Deprecated long getKeyCacheCapacityInBytes()
CacheMetrics.capacity
@Deprecated long getRowCacheSize()
CacheMetrics.size
@Deprecated long getRowCacheEntries()
CacheMetrics.entries
@Deprecated long getKeyCacheSize()
CacheMetrics.size
@Deprecated long getKeyCacheEntries()
CacheMetrics.entries
Copyright © 2013 The Apache Software Foundation