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 int
getActivePlanCount()
Current active plan countlong
getBufferHeapInUseKb()
Heap memory estimate in use by buffer managerlong
getBufferHeapReservedByActivePlansKb()
Total processing memory reserved by active planslong
getCacheReadCount()
Total number of cache reads, includes disk and soft-cache referenceslong
getCacheWriteCount()
Total number of cache writes, includes disk and soft-cache referenceslong
getDiskReadCount()
Number reads from the disk used by buffer manager that cache overflowed.long
getDiskSpaceUsedInMB()
Disk space used by buffer manager to save overflowed memory contentslong
getDiskWriteCount()
Number of writes to disk by buffer manager to save the overflow from memoryint
getMaxWaitPlanWaterMark()
High water mark for the waiting planslong
getMemoryUsedByActivePlansInKB()
Total memory used by buffer manager for active plansint
getSessionCount()
Active Number of Sessions in the enginelong
getStorageReadCount()
Total number of storage reads from the layer below the heaplong
getStorageWriteCount()
Total number of storage writes to the layer below the heaplong
getTotalMemoryUsedInKB()
Total amount memory used by buffer manager for active queries and cached queriesint
getWaitPlanCount()
Current number of waiting plans in the queuevoid
setActivePlanCount(int activePlanCount)
void
setCacheReadCount(long cacheReadCount)
void
setCacheWriteCount(long cacheWriteCount)
void
setDiskReadCount(long diskReadCount)
void
setDiskSpaceUsedInMB(long diskSpaceUsedInMB)
void
setDiskWriteCount(long diskWriteCount)
void
setMaxWaitPlanWaterMark(int maxWaitPlanCount)
void
setMemoryUsedByActivePlansInKB(long memoryUsedByActivePlansInKB)
void
setSessionCount(int sessionCount)
void
setTotalMemoryUsedInKB(long totalMemoryUsedInKB)
void
setWaitPlanCount(int waitPlanCount)
String
toString()
-
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:EngineStatisticsBean
Active Number of Sessions in the engine- Specified by:
getSessionCount
in interfaceEngineStatisticsBean
- Returns:
-
getTotalMemoryUsedInKB
public long getTotalMemoryUsedInKB()
Description copied from interface:EngineStatisticsBean
Total amount memory used by buffer manager for active queries and cached queries- Specified by:
getTotalMemoryUsedInKB
in interfaceEngineStatisticsBean
- Returns:
- See Also:
EngineStatisticsBean.getBufferHeapInUseKb()
-
getMemoryUsedByActivePlansInKB
public long getMemoryUsedByActivePlansInKB()
Description copied from interface:EngineStatisticsBean
Total memory used by buffer manager for active plans- Specified by:
getMemoryUsedByActivePlansInKB
in interfaceEngineStatisticsBean
- Returns:
- See Also:
EngineStatisticsBean.getBufferHeapReservedByActivePlansKb()
-
getDiskWriteCount
public long getDiskWriteCount()
Description copied from interface:EngineStatisticsBean
Number of writes to disk by buffer manager to save the overflow from memory- Specified by:
getDiskWriteCount
in interfaceEngineStatisticsBean
- Returns:
-
getDiskReadCount
public long getDiskReadCount()
Description copied from interface:EngineStatisticsBean
Number reads from the disk used by buffer manager that cache overflowed.- Specified by:
getDiskReadCount
in interfaceEngineStatisticsBean
- Returns:
-
getCacheReadCount
public long getCacheReadCount()
Description copied from interface:EngineStatisticsBean
Total number of cache reads, includes disk and soft-cache references- Specified by:
getCacheReadCount
in interfaceEngineStatisticsBean
- Returns:
- See Also:
EngineStatisticsBean.getStorageReadCount()
-
getCacheWriteCount
public long getCacheWriteCount()
Description copied from interface:EngineStatisticsBean
Total number of cache writes, includes disk and soft-cache references- Specified by:
getCacheWriteCount
in interfaceEngineStatisticsBean
- Returns:
- See Also:
EngineStatisticsBean.getStorageReadCount()
-
getDiskSpaceUsedInMB
public long getDiskSpaceUsedInMB()
Description copied from interface:EngineStatisticsBean
Disk space used by buffer manager to save overflowed memory contents- Specified by:
getDiskSpaceUsedInMB
in interfaceEngineStatisticsBean
- Returns:
-
getActivePlanCount
public int getActivePlanCount()
Description copied from interface:EngineStatisticsBean
Current active plan count- Specified by:
getActivePlanCount
in interfaceEngineStatisticsBean
- Returns:
-
getWaitPlanCount
public int getWaitPlanCount()
Description copied from interface:EngineStatisticsBean
Current number of waiting plans in the queue- Specified by:
getWaitPlanCount
in interfaceEngineStatisticsBean
- Returns:
-
getMaxWaitPlanWaterMark
public int getMaxWaitPlanWaterMark()
Description copied from interface:EngineStatisticsBean
High water mark for the waiting plans- Specified by:
getMaxWaitPlanWaterMark
in 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:EngineStatisticsBean
Heap memory estimate in use by buffer manager- Specified by:
getBufferHeapInUseKb
in interfaceEngineStatisticsBean
- Returns:
-
getBufferHeapReservedByActivePlansKb
public long getBufferHeapReservedByActivePlansKb()
Description copied from interface:EngineStatisticsBean
Total processing memory reserved by active plans- Specified by:
getBufferHeapReservedByActivePlansKb
in interfaceEngineStatisticsBean
- Returns:
-
getStorageReadCount
public long getStorageReadCount()
Description copied from interface:EngineStatisticsBean
Total number of storage reads from the layer below the heap- Specified by:
getStorageReadCount
in interfaceEngineStatisticsBean
- Returns:
-
getStorageWriteCount
public long getStorageWriteCount()
Description copied from interface:EngineStatisticsBean
Total number of storage writes to the layer below the heap- Specified by:
getStorageWriteCount
in interfaceEngineStatisticsBean
- Returns:
-
-