| Modifier and Type | Field and Description |
|---|---|
| public static final String | CACHE_ENABLED
CACHE_ENABLED |
| public static final String | CACHE_FLUSHED
CACHE_FLUSHED |
| public static final String | CACHE_REGION_CHANGED
CACHE_REGION_CHANGED |
| public static final String | CACHE_REGION_FLUSHED
CACHE_REGION_FLUSHED |
| public static final String | CACHE_STATISTICS_ENABLED
CACHE_STATISTICS_ENABLED |
| public static final String | CACHE_STATISTICS_RESET
CACHE_STATISTICS_RESET |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | Returns: the currently active cache configurationReturns the currently active cache configuration |
| public String | Returns: Returns the currently active cache configuration for the supplied regionReturns the currently active cache configuration for the supplied region |
| public float | Returns: Return average time taken in milliseconds for a get operation for the input cache nameReturn average time taken in milliseconds for a get operation for the input cache name |
| public long | |
| public double | |
| public long | Returns: Returns hit count sample for all the cachesReturns hit count sample for all the caches |
| public long | Returns: Returns miss count for all the cachesReturns miss count for all the caches |
| public double | |
| public long | Returns: Returns miss count sample for all the cachesReturns miss count sample for all the caches |
| public long | |
| public double | |
| public long | Returns: Returns put count sample for all the cachesReturns put count sample for all the caches |
| public long | Returns: Return maximum time taken in milliseconds for a get operationReturn maximum time taken in milliseconds for a get operation |
| public long | Returns: Return maximum time taken in milliseconds for a get operation for the input cache nameReturn maximum time taken in milliseconds for a get operation for the input cache name |
| public long | Returns: minimum time taken for a get operation in the cache in millisecondsReturn minimum time taken for a get operation in the cache in milliseconds |
| public long | Returns: Return minimum time taken in milliseconds for a get operation for the input cache nameReturn minimum time taken in milliseconds for a get operation for the input cache name |
| public int | Returns: Returns number of elements in-memory in the cache for the input regionReturns number of elements in-memory in the cache for the input region |
| public int | Returns: Returns number of elements off-heap in the cache for the input regionReturns number of elements off-heap in the cache for the input region |
| public int | Returns: Returns number of elements on-disk in the cache for the input regionReturns number of elements on-disk in the cache for the input region |
| public String | Returns: the original cache configurationGet the original cache configuration |
| public String | Returns: the original cache configuration for the supplied regionfor which the configuration is required region)Returns the original cache configuration for the supplied region |
| public Map | Returns: Returns a map containing attributes of the cache for the input cache region nameReturns a map containing attributes of the cache for the input cache region name |
| public Map | Returns: Returns a map containing mapping of all cache region names to their attributesReturns a map containing mapping of all cache region names to their attributes |
| public int | Returns: Returns the time to live for the input cache regionReturns the time to idle for the input cache region |
| public int | Returns: Returns the time to live for the input cache regionReturns the time to live for the input cache region |
| public int | Returns: Returns the orphan eviction period for the input cache region.Returns the orphan eviction period for the input cache region. |
| public Map | Returns: Returns a map containing mapping between cache names and an array containing hit, miss and put count samplesReturns a map containing mapping between cache names and an array containing hit, miss and put count samples |
| public int | Returns: Returns the maxElementsInMemory of the input cache regionReturns the maxElementsInMemory of the input cache region |
| public int | Returns: Returns the maxElementsOnDisk of the input cache regionReturns the maxElementsOnDisk of the input cache region |
| public String[] | Returns: Returns the region names which are clustered with terracottaReturns the region names which are clustered with terracotta |
| public boolean | Returns: Returns true if cache is enabled for the input regionReturns true if cache is enabled for the input region |
| public boolean | Returns: Returns true if logging is enabled for the input cache regionReturns true if logging is enabled for the input cache region |
| public boolean | Returns: Returns true if orphan eviction is enabled for the region otherwise falseReturns true if orphan eviction is enabled for the region otherwise false |
| public boolean | Returns: Returns true if all the cache regions are enabled. If even one cache is disabled, it will return falseReturns true if all the cache regions are enabled. |
| public boolean | Returns: Returns true if the input region is clustered with terracottaReturns true if the input region is clustered with terracotta |
| public void | |
| public void | setRegionCacheLoggingEnabled(String region, boolean loggingEnabled)
Enable/Disable logging for the input cache region |
| public void | setRegionCacheMaxTTISeconds(String region, int
Returns the time to idle for the input cache region maxTTISeconds)Sets the time to idle for the input cache region |
| public void | setRegionCacheMaxTTLSeconds(String region, int maxTTLSeconds)
Sets the time to live for the input cache region |
| public void | |
| public void | setRegionCacheTargetMaxInMemoryCount(String region, int targetMaxInMemoryCount)
Sets the maxElementsInMemory of the input cache region |
| public void | setRegionCacheTargetMaxTotalCount(String region, int targetMaxTotalCount)
Sets the maxElementsOnDisk of the input cache region |
| CACHE_ENABLED | back to summary |
|---|---|
| public static final String CACHE_ENABLED CACHE_ENABLED | |
| CACHE_FLUSHED | back to summary |
|---|---|
| public static final String CACHE_FLUSHED CACHE_FLUSHED | |
| CACHE_REGION_CHANGED | back to summary |
|---|---|
| public static final String CACHE_REGION_CHANGED CACHE_REGION_CHANGED | |
| CACHE_REGION_FLUSHED | back to summary |
|---|---|
| public static final String CACHE_REGION_FLUSHED CACHE_REGION_FLUSHED | |
| CACHE_STATISTICS_ENABLED | back to summary |
|---|---|
| public static final String CACHE_STATISTICS_ENABLED CACHE_STATISTICS_ENABLED | |
| CACHE_STATISTICS_RESET | back to summary |
|---|---|
| public static final String CACHE_STATISTICS_RESET CACHE_STATISTICS_RESET | |
| flushRegionCache | back to summary |
|---|---|
| public void flushRegionCache(String region) Flushes the cache for the input region | |
| flushRegionCaches | back to summary |
|---|---|
| public void flushRegionCaches() Flushes all the caches for all the regions | |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration() Returns the currently active cache configuration
| |
| generateActiveConfigDeclaration | back to summary |
|---|---|
| public String generateActiveConfigDeclaration(String region) Returns the currently active cache configuration for the supplied region
| |
| getAverageGetTimeMillis | back to summary |
|---|---|
| public float getAverageGetTimeMillis(String region) Return average time taken in milliseconds for a get operation for the input cache name
| |
| getCacheHitCount | back to summary |
|---|---|
| public long getCacheHitCount() Returns hit count for all the caches
| |
| getCacheHitRate | back to summary |
|---|---|
| public double getCacheHitRate() Returns hit rate for all the caches
| |
| getCacheHitSample | back to summary |
|---|---|
| public long getCacheHitSample() Returns hit count sample for all the caches
| |
| getCacheMissCount | back to summary |
|---|---|
| public long getCacheMissCount() Returns miss count for all the caches
| |
| getCacheMissRate | back to summary |
|---|---|
| public double getCacheMissRate() Returns miss rate for all the caches
| |
| getCacheMissSample | back to summary |
|---|---|
| public long getCacheMissSample() Returns miss count sample for all the caches
| |
| getCachePutCount | back to summary |
|---|---|
| public long getCachePutCount() Returns put count for all the caches
| |
| getCachePutRate | back to summary |
|---|---|
| public double getCachePutRate() Returns put rate for all the caches
| |
| getCachePutSample | back to summary |
|---|---|
| public long getCachePutSample() Returns put count sample for all the caches
| |
| getMaxGetTimeMillis | back to summary |
|---|---|
| public long getMaxGetTimeMillis() Return maximum time taken in milliseconds for a get operation
| |
| getMaxGetTimeMillis | back to summary |
|---|---|
| public long getMaxGetTimeMillis(String cacheName) Return maximum time taken in milliseconds for a get operation for the input cache name
| |
| getMinGetTimeMillis | back to summary |
|---|---|
| public long getMinGetTimeMillis() Return minimum time taken for a get operation in the cache in milliseconds
| |
| getMinGetTimeMillis | back to summary |
|---|---|
| public long getMinGetTimeMillis(String cacheName) Return minimum time taken in milliseconds for a get operation for the input cache name
| |
| getNumberOfElementsInMemory | back to summary |
|---|---|
| public int getNumberOfElementsInMemory(String region) Returns number of elements in-memory in the cache for the input region
| |
| getNumberOfElementsOffHeap | back to summary |
|---|---|
| public int getNumberOfElementsOffHeap(String region) Returns number of elements off-heap in the cache for the input region
| |
| getNumberOfElementsOnDisk | back to summary |
|---|---|
| public int getNumberOfElementsOnDisk(String region) Returns number of elements on-disk in the cache for the input region
| |
| getOriginalConfigDeclaration | back to summary |
|---|---|
| public String getOriginalConfigDeclaration() Get the original cache configuration
| |
| getOriginalConfigDeclaration | back to summary |
|---|---|
| public String getOriginalConfigDeclaration(String region) Returns the original cache configuration for the supplied region | |
| getRegionCacheAttributes | back to summary |
|---|---|
| public Map Returns a map containing attributes of the cache for the input cache region name | |
| getRegionCacheAttributes | back to summary |
|---|---|
| public Map Returns a map containing mapping of all cache region names to their attributes | |
| getRegionCacheMaxTTISeconds | back to summary |
|---|---|
| public int getRegionCacheMaxTTISeconds(String region) Returns the time to idle for the input cache region
| |
| getRegionCacheMaxTTLSeconds | back to summary |
|---|---|
| public int getRegionCacheMaxTTLSeconds(String region) Returns the time to live for the input cache region
| |
| getRegionCacheOrphanEvictionPeriod | back to summary |
|---|---|
| public int getRegionCacheOrphanEvictionPeriod(String region) Returns the orphan eviction period for the input cache region.
| |
| getRegionCacheSamples | back to summary |
|---|---|
| public Map Returns a map containing mapping between cache names and an array containing hit, miss and put count samples | |
| getRegionCacheTargetMaxInMemoryCount | back to summary |
|---|---|
| public int getRegionCacheTargetMaxInMemoryCount(String region) Returns the maxElementsInMemory of the input cache region
| |
| getRegionCacheTargetMaxTotalCount | back to summary |
|---|---|
| public int getRegionCacheTargetMaxTotalCount(String region) Returns the maxElementsOnDisk of the input cache region
| |
| getTerracottaHibernateCacheRegionNames | back to summary |
|---|---|
| public String[] getTerracottaHibernateCacheRegionNames() Returns the region names which are clustered with terracotta
| |
| isRegionCacheEnabled | back to summary |
|---|---|
| public boolean isRegionCacheEnabled(String region) Returns true if cache is enabled for the input region
| |
| isRegionCacheLoggingEnabled | back to summary |
|---|---|
| public boolean isRegionCacheLoggingEnabled(String region) Returns true if logging is enabled for the input cache region
| |
| isRegionCacheOrphanEvictionEnabled | back to summary |
|---|---|
| public boolean isRegionCacheOrphanEvictionEnabled(String region) Returns true if orphan eviction is enabled for the region otherwise false
| |
| isRegionCachesEnabled | back to summary |
|---|---|
| public boolean isRegionCachesEnabled() Returns true if all the cache regions are enabled. If even one cache is disabled, it will return false
| |
| isTerracottaHibernateCache | back to summary |
|---|---|
| public boolean isTerracottaHibernateCache(String region) Returns true if the input region is clustered with terracotta
| |
| setRegionCacheEnabled | back to summary |
|---|---|
| public void setRegionCacheEnabled(String region, boolean enabled) Enables/disables a particular region | |
| setRegionCacheLoggingEnabled | back to summary |
|---|---|
| public void setRegionCacheLoggingEnabled(String region, boolean loggingEnabled) Enable/Disable logging for the input cache region | |
| setRegionCacheMaxTTISeconds | back to summary |
|---|---|
| public void setRegionCacheMaxTTISeconds(String region, int maxTTISeconds) Sets the time to idle for the input cache region
| |
| setRegionCacheMaxTTLSeconds | back to summary |
|---|---|
| public void setRegionCacheMaxTTLSeconds(String region, int maxTTLSeconds) Sets the time to live for the input cache region | |
| setRegionCachesEnabled | back to summary |
|---|---|
| public void setRegionCachesEnabled(boolean enabled) Enable/disable all the cache regions. | |
| setRegionCacheTargetMaxInMemoryCount | back to summary |
|---|---|
| public void setRegionCacheTargetMaxInMemoryCount(String region, int targetMaxInMemoryCount) Sets the maxElementsInMemory of the input cache region | |
| setRegionCacheTargetMaxTotalCount | back to summary |
|---|---|
| public void setRegionCacheTargetMaxTotalCount(String region, int targetMaxTotalCount) Sets the maxElementsOnDisk of the input cache region | |