Package | Description |
---|---|
com.kabira.platform |
Managed Object Services
|
Modifier and Type | Method and Description |
---|---|
void |
CacheManager.Cache.addClass(java.lang.Class<?> klass)
Associate the given class to a cache.
|
void |
CacheManager.Cache.disable()
Disable cache.
|
void |
CacheManager.Cache.enable()
Enable cache.
|
long |
CacheManager.Cache.flush(long numberObjects)
Flush a cache.
|
long |
CacheManager.Cache.getCacheSizeBytes()
Return the cache size in bytes.
|
int |
CacheManager.Cache.getCacheUtilization()
Return the amount of cache used as a percent.
|
java.lang.Iterable<java.lang.Class<?>> |
CacheManager.Cache.getClasses()
Return all known classes associated with this cache.
|
int |
CacheManager.Cache.getMemoryUtilization()
Return the amount of shared memory used as a percent.
|
java.lang.String |
CacheManager.Cache.getName()
Return the name of the cache.
|
long |
CacheManager.Cache.getNumberInstances()
Return the number of instances currently cached.
|
boolean |
CacheManager.Cache.isDisabled()
Return if the cache is currently disabled.
|
void |
CacheManager.Cache.setSizeBytes(long size)
Set the size of the cache in bytes.
|
void |
CacheManager.Cache.setSizePercent(int percent)
Set the size of the cache as a percentage.
|