Package com.graphdbapi.driver
Class MetricInfo
- java.lang.Object
-
- com.graphdbapi.driver.MetricInfo
-
public class MetricInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description MetricInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getAddresses()节点地址intgetDaemonThreadCnt()daemon thread countList<GraphMetricsInfo>getGraphMetrics()graph infolonggetHeapCommitted()heap CommittedlonggetHeapInit()heap InitlonggetHeapMax()heap MaxlonggetHeapTotal()heap TotallonggetHeapUsed()heap UsedCollection<String>getHostName()节点主机名StringgetId()节点idlonggetLastUpdateTime()lastUpdateTimelonggetNodeStartTime()启动时间intgetPeakThreadCnt()peak thread countlonggetStartedThreadCnt()started thread countintgetThreadCnt()thread count
-
-
-
Method Detail
-
getId
public String getId()
节点id- Returns:
- 节点id
-
getNodeStartTime
public long getNodeStartTime()
启动时间- Returns:
- 启动时间
-
getAddresses
public Collection<String> getAddresses()
节点地址- Returns:
- 节点地址
-
getHostName
public Collection<String> getHostName()
节点主机名- Returns:
- 节点主机名
-
getHeapInit
public long getHeapInit()
heap Init- Returns:
- heap Init
-
getHeapUsed
public long getHeapUsed()
heap Used- Returns:
- heap Used
-
getHeapCommitted
public long getHeapCommitted()
heap Committed- Returns:
- heap Committed
-
getHeapMax
public long getHeapMax()
heap Max- Returns:
- heap Max
-
getHeapTotal
public long getHeapTotal()
heap Total- Returns:
- heap Total
-
getLastUpdateTime
public long getLastUpdateTime()
lastUpdateTime- Returns:
- last Update Time
-
getThreadCnt
public int getThreadCnt()
thread count- Returns:
- thread count
-
getDaemonThreadCnt
public int getDaemonThreadCnt()
daemon thread count- Returns:
- daemon thread count
-
getPeakThreadCnt
public int getPeakThreadCnt()
peak thread count- Returns:
- peak thread count
-
getStartedThreadCnt
public long getStartedThreadCnt()
started thread count- Returns:
- started thread count
-
getGraphMetrics
public List<GraphMetricsInfo> getGraphMetrics()
graph info- Returns:
- 图信息
-
-