Package org.teiid.adminapi.impl
Class EngineStatisticsMetadata
- java.lang.Object
-
- org.teiid.adminapi.impl.AdminObjectImpl
-
- org.teiid.adminapi.impl.EngineStatisticsMetadata
-
- All Implemented Interfaces:
Serializable,AdminObject,DomainAware,EngineStatistics,EngineStatisticsBean
public class EngineStatisticsMetadata extends AdminObjectImpl implements EngineStatistics
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.teiid.adminapi.impl.AdminObjectImpl
attachments
-
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
-
-
Constructor Summary
Constructors Constructor Description EngineStatisticsMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActivePlanCount()Current active plan countlonggetBufferHeapInUseKb()Heap memory estimate in use by buffer managerlonggetBufferHeapReservedByActivePlansKb()Total processing memory reserved by active planslonggetCacheReadCount()Total number of cache reads, includes disk and soft-cache referenceslonggetCacheWriteCount()Total number of cache writes, includes disk and soft-cache referenceslonggetDiskReadCount()Number reads from the disk used by buffer manager that cache overflowed.longgetDiskSpaceUsedInMB()Disk space used by buffer manager to save overflowed memory contentslonggetDiskWriteCount()Number of writes to disk by buffer manager to save the overflow from memoryintgetMaxWaitPlanWaterMark()High water mark for the waiting planslonggetMemoryUsedByActivePlansInKB()Total memory used by buffer manager for active plansintgetSessionCount()Active Number of Sessions in the enginelonggetStorageReadCount()Total number of storage reads from the layer below the heaplonggetStorageWriteCount()Total number of storage writes to the layer below the heaplonggetTotalMemoryUsedInKB()Total amount memory used by buffer manager for active queries and cached queriesintgetWaitPlanCount()Current number of waiting plans in the queuevoidsetActivePlanCount(int activePlanCount)voidsetCacheReadCount(long cacheReadCount)voidsetCacheWriteCount(long cacheWriteCount)voidsetDiskReadCount(long diskReadCount)voidsetDiskSpaceUsedInMB(long diskSpaceUsedInMB)voidsetDiskWriteCount(long diskWriteCount)voidsetMaxWaitPlanWaterMark(int maxWaitPlanCount)voidsetMemoryUsedByActivePlansInKB(long memoryUsedByActivePlansInKB)voidsetSessionCount(int sessionCount)voidsetTotalMemoryUsedInKB(long totalMemoryUsedInKB)voidsetWaitPlanCount(int waitPlanCount)StringtoString()-
Methods inherited from class org.teiid.adminapi.impl.AdminObjectImpl
addAttachment, addAttchment, addProperty, getAttachment, getHostName, getName, getProperties, getPropertiesMap, getPropertyValue, getServerGroup, getServerName, removeAttachment, removeProperty, setHostName, setName, setProperties, setServerGroup, setServerName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teiid.adminapi.AdminObject
getName, getProperties, getPropertyValue
-
Methods inherited from interface org.teiid.adminapi.DomainAware
getHostName, getServerGroup, getServerName
-
-
-
-
Method Detail
-
getSessionCount
public int getSessionCount()
Description copied from interface:EngineStatisticsBeanActive Number of Sessions in the engine- Specified by:
getSessionCountin interfaceEngineStatisticsBean- Returns:
-
getTotalMemoryUsedInKB
public long getTotalMemoryUsedInKB()
Description copied from interface:EngineStatisticsBeanTotal amount memory used by buffer manager for active queries and cached queries- Specified by:
getTotalMemoryUsedInKBin interfaceEngineStatisticsBean- Returns:
- See Also:
EngineStatisticsBean.getBufferHeapInUseKb()
-
getMemoryUsedByActivePlansInKB
public long getMemoryUsedByActivePlansInKB()
Description copied from interface:EngineStatisticsBeanTotal memory used by buffer manager for active plans- Specified by:
getMemoryUsedByActivePlansInKBin interfaceEngineStatisticsBean- Returns:
- See Also:
EngineStatisticsBean.getBufferHeapReservedByActivePlansKb()
-
getDiskWriteCount
public long getDiskWriteCount()
Description copied from interface:EngineStatisticsBeanNumber of writes to disk by buffer manager to save the overflow from memory- Specified by:
getDiskWriteCountin interfaceEngineStatisticsBean- Returns:
-
getDiskReadCount
public long getDiskReadCount()
Description copied from interface:EngineStatisticsBeanNumber reads from the disk used by buffer manager that cache overflowed.- Specified by:
getDiskReadCountin interfaceEngineStatisticsBean- Returns:
-
getCacheReadCount
public long getCacheReadCount()
Description copied from interface:EngineStatisticsBeanTotal number of cache reads, includes disk and soft-cache references- Specified by:
getCacheReadCountin interfaceEngineStatisticsBean- Returns:
- See Also:
EngineStatisticsBean.getStorageReadCount()
-
getCacheWriteCount
public long getCacheWriteCount()
Description copied from interface:EngineStatisticsBeanTotal number of cache writes, includes disk and soft-cache references- Specified by:
getCacheWriteCountin interfaceEngineStatisticsBean- Returns:
- See Also:
EngineStatisticsBean.getStorageReadCount()
-
getDiskSpaceUsedInMB
public long getDiskSpaceUsedInMB()
Description copied from interface:EngineStatisticsBeanDisk space used by buffer manager to save overflowed memory contents- Specified by:
getDiskSpaceUsedInMBin interfaceEngineStatisticsBean- Returns:
-
getActivePlanCount
public int getActivePlanCount()
Description copied from interface:EngineStatisticsBeanCurrent active plan count- Specified by:
getActivePlanCountin interfaceEngineStatisticsBean- Returns:
-
getWaitPlanCount
public int getWaitPlanCount()
Description copied from interface:EngineStatisticsBeanCurrent number of waiting plans in the queue- Specified by:
getWaitPlanCountin interfaceEngineStatisticsBean- Returns:
-
getMaxWaitPlanWaterMark
public int getMaxWaitPlanWaterMark()
Description copied from interface:EngineStatisticsBeanHigh water mark for the waiting plans- Specified by:
getMaxWaitPlanWaterMarkin interfaceEngineStatisticsBean- Returns:
-
setSessionCount
public void setSessionCount(int sessionCount)
-
setTotalMemoryUsedInKB
public void setTotalMemoryUsedInKB(long totalMemoryUsedInKB)
-
setMemoryUsedByActivePlansInKB
public void setMemoryUsedByActivePlansInKB(long memoryUsedByActivePlansInKB)
-
setDiskWriteCount
public void setDiskWriteCount(long diskWriteCount)
-
setDiskReadCount
public void setDiskReadCount(long diskReadCount)
-
setCacheWriteCount
public void setCacheWriteCount(long cacheWriteCount)
-
setCacheReadCount
public void setCacheReadCount(long cacheReadCount)
-
setDiskSpaceUsedInMB
public void setDiskSpaceUsedInMB(long diskSpaceUsedInMB)
-
setActivePlanCount
public void setActivePlanCount(int activePlanCount)
-
setWaitPlanCount
public void setWaitPlanCount(int waitPlanCount)
-
setMaxWaitPlanWaterMark
public void setMaxWaitPlanWaterMark(int maxWaitPlanCount)
-
getBufferHeapInUseKb
public long getBufferHeapInUseKb()
Description copied from interface:EngineStatisticsBeanHeap memory estimate in use by buffer manager- Specified by:
getBufferHeapInUseKbin interfaceEngineStatisticsBean- Returns:
-
getBufferHeapReservedByActivePlansKb
public long getBufferHeapReservedByActivePlansKb()
Description copied from interface:EngineStatisticsBeanTotal processing memory reserved by active plans- Specified by:
getBufferHeapReservedByActivePlansKbin interfaceEngineStatisticsBean- Returns:
-
getStorageReadCount
public long getStorageReadCount()
Description copied from interface:EngineStatisticsBeanTotal number of storage reads from the layer below the heap- Specified by:
getStorageReadCountin interfaceEngineStatisticsBean- Returns:
-
getStorageWriteCount
public long getStorageWriteCount()
Description copied from interface:EngineStatisticsBeanTotal number of storage writes to the layer below the heap- Specified by:
getStorageWriteCountin interfaceEngineStatisticsBean- Returns:
-
-