Package cn.boboweike.carrot.server.jmx
Interface BackgroundTaskServerStatusMBean
-
- All Known Implementing Classes:
BackgroundTaskServerStatus
public interface BackgroundTaskServerStatusMBean
-
-
Field Summary
Fields Modifier and Type Field Description static IntegerNO_PARTITION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationgetDeleteSucceededTasksAfter()InstantgetFirstHeartbeat()UUIDgetId()InstantgetLastHeartbeat()IntegergetPartition()DurationgetPermanentlyDeleteDeletedTasksAfter()intgetPollIntervalInSeconds()LonggetProcessAllocatedMemory()DoublegetProcessCpuLoad()LonggetProcessFreeMemory()LonggetProcessMaxMemory()DoublegetSystemCpuLoad()LonggetSystemFreeMemory()LonggetSystemTotalMemory()intgetWorkerPoolSize()booleanisRunning()
-
-
-
Field Detail
-
NO_PARTITION
static final Integer NO_PARTITION
-
-
Method Detail
-
getId
UUID getId()
-
getWorkerPoolSize
int getWorkerPoolSize()
-
getPollIntervalInSeconds
int getPollIntervalInSeconds()
-
getFirstHeartbeat
Instant getFirstHeartbeat()
-
getLastHeartbeat
Instant getLastHeartbeat()
-
getDeleteSucceededTasksAfter
Duration getDeleteSucceededTasksAfter()
-
getPermanentlyDeleteDeletedTasksAfter
Duration getPermanentlyDeleteDeletedTasksAfter()
-
isRunning
boolean isRunning()
-
getSystemTotalMemory
Long getSystemTotalMemory()
-
getSystemFreeMemory
Long getSystemFreeMemory()
-
getSystemCpuLoad
Double getSystemCpuLoad()
-
getProcessMaxMemory
Long getProcessMaxMemory()
-
getProcessFreeMemory
Long getProcessFreeMemory()
-
getProcessAllocatedMemory
Long getProcessAllocatedMemory()
-
getProcessCpuLoad
Double getProcessCpuLoad()
-
getPartition
Integer getPartition()
-
-