Class JobMetricEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
com.flowable.platform.engine.impl.persistence.entity.JobMetricEntityImpl
- All Implemented Interfaces:
FlowableMetric, JobMetric, JobMetricEntity, org.flowable.common.engine.impl.persistence.entity.Entity
public class JobMetricEntityImpl
extends org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
implements JobMetricEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Doubleprotected doubleprotected Durationprotected doubleprotected doubleprotected Doubleprotected Stringprotected Stringprotected Instantprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleDead-letter jobs/second averaged over duration.doubleExecuted jobs/second averaged over duration.doubleFailed jobs/second averaged over duration.getNode()getType()voidsetAvgDuration(Double avgDuration) voidsetDeadLetterCount(double deadLetterCount) voidsetDuration(Duration duration) voidsetExecutedCount(double executedCount) voidsetFailedCount(double failedCount) voidsetMaxDuration(Double maxDuration) voidvoidsetTenantId(String tenantId) voidsetTimestamp(Instant timestamp) voidMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface JobMetric
getDeadLetterTotal, getExecutedTotal, getFailedTotal
-
Field Details
-
timestamp
-
type
-
node
-
tenantId
-
duration
-
executedCount
protected double executedCount -
failedCount
protected double failedCount -
deadLetterCount
protected double deadLetterCount -
avgDuration
-
maxDuration
-
-
Constructor Details
-
JobMetricEntityImpl
public JobMetricEntityImpl()
-
-
Method Details
-
getTimestamp
- Specified by:
getTimestampin interfaceFlowableMetric
-
getType
-
getNode
- Specified by:
getNodein interfaceFlowableMetric
-
getTenantId
- Specified by:
getTenantIdin interfaceJobMetric
-
getDuration
- Specified by:
getDurationin interfaceFlowableMetric
-
getExecutedCount
public double getExecutedCount()Description copied from interface:JobMetricExecuted jobs/second averaged over duration.- Specified by:
getExecutedCountin interfaceJobMetric
-
getFailedCount
public double getFailedCount()Description copied from interface:JobMetricFailed jobs/second averaged over duration.- Specified by:
getFailedCountin interfaceJobMetric
-
getDeadLetterCount
public double getDeadLetterCount()Description copied from interface:JobMetricDead-letter jobs/second averaged over duration.- Specified by:
getDeadLetterCountin interfaceJobMetric
-
getAvgDuration
- Specified by:
getAvgDurationin interfaceJobMetric
-
getMaxDuration
- Specified by:
getMaxDurationin interfaceJobMetric
-
setTimestamp
- Specified by:
setTimestampin interfaceJobMetricEntity
-
setType
- Specified by:
setTypein interfaceJobMetricEntity
-
setNode
- Specified by:
setNodein interfaceJobMetricEntity
-
setTenantId
- Specified by:
setTenantIdin interfaceJobMetricEntity
-
setDuration
- Specified by:
setDurationin interfaceJobMetricEntity
-
setExecutedCount
public void setExecutedCount(double executedCount) - Specified by:
setExecutedCountin interfaceJobMetricEntity
-
setFailedCount
public void setFailedCount(double failedCount) - Specified by:
setFailedCountin interfaceJobMetricEntity
-
setDeadLetterCount
public void setDeadLetterCount(double deadLetterCount) - Specified by:
setDeadLetterCountin interfaceJobMetricEntity
-
setAvgDuration
- Specified by:
setAvgDurationin interfaceJobMetricEntity
-
setMaxDuration
- Specified by:
setMaxDurationin interfaceJobMetricEntity
-
getIdPrefix
- Specified by:
getIdPrefixin interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
getPersistentState
- Specified by:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-