Package com.gigaspaces.server.blobstore
Class BlobStoreStatisticsImpl
java.lang.Object
com.gigaspaces.server.blobstore.BlobStoreStatisticsImpl
- All Implemented Interfaces:
SmartExternalizable,BlobStoreStatistics,Externalizable,Serializable
public class BlobStoreStatisticsImpl
extends Object
implements BlobStoreStatistics, SmartExternalizable
- Since:
- 12.3
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet total cache hitslongGet total cache misseslongGet number of entries in cachelongGet total hot data cache misses.longGet number of bytes currently used by local cacheGet storage statisticsvoidvoidsetCacheHitCount(long hitCount) voidsetCacheMissCount(long missCount) voidsetCacheSize(long cacheSize) voidsetHotDataCacheMissCount(long hotDataMissCount) voidsetOffHeapCacheUsedBytes(long offHeapCacheUsedBytes) voidsetStorageStatistics(Collection<BlobStoreStorageStatistics> storageStatistics) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
BlobStoreStatisticsImpl
public BlobStoreStatisticsImpl()Required for @Externalizable
-
-
Method Details
-
getCacheSize
public long getCacheSize()Description copied from interface:BlobStoreStatisticsGet number of entries in cache- Specified by:
getCacheSizein interfaceBlobStoreStatistics
-
setCacheSize
public void setCacheSize(long cacheSize) -
getCacheHitCount
public long getCacheHitCount()Description copied from interface:BlobStoreStatisticsGet total cache hits- Specified by:
getCacheHitCountin interfaceBlobStoreStatistics
-
setCacheHitCount
public void setCacheHitCount(long hitCount) -
getCacheMissCount
public long getCacheMissCount()Description copied from interface:BlobStoreStatisticsGet total cache misses- Specified by:
getCacheMissCountin interfaceBlobStoreStatistics
-
setCacheMissCount
public void setCacheMissCount(long missCount) -
getHotDataCacheMissCount
public long getHotDataCacheMissCount()Description copied from interface:BlobStoreStatisticsGet total hot data cache misses.- Specified by:
getHotDataCacheMissCountin interfaceBlobStoreStatistics
-
setHotDataCacheMissCount
public void setHotDataCacheMissCount(long hotDataMissCount) -
getOffHeapCacheUsedBytes
public long getOffHeapCacheUsedBytes()Description copied from interface:BlobStoreStatisticsGet number of bytes currently used by local cache- Specified by:
getOffHeapCacheUsedBytesin interfaceBlobStoreStatistics
-
setOffHeapCacheUsedBytes
public void setOffHeapCacheUsedBytes(long offHeapCacheUsedBytes) -
getStorageStatistics
Description copied from interface:BlobStoreStatisticsGet storage statistics- Specified by:
getStorageStatisticsin interfaceBlobStoreStatistics
-
setStorageStatistics
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-