Class MeterLogEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.MeterLogEntity
- All Implemented Interfaces:
- Serializable,- DbEntity,- HasDbReferences
- Author:
- Daniel Meyer
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionMeterLogEntity(String name, long value, Date timestamp) MeterLogEntity(String name, String reporter, long value, Date timestamp) 
- 
Method SummaryModifier and TypeMethodDescriptiongetId()getName()Returns a representation of the object, as would be stored in the database.Scope: IN-MEMORY referencesScope: IN-MEMORY referenceslonggetValue()voidvoidsetMilliseconds(Long milliseconds) voidvoidsetReporter(String reporter) voidsetTimestamp(Date timestamp) voidsetValue(long value) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferencesgetDependentEntities
- 
Field Details- 
id
- 
timestamp
- 
milliseconds
- 
name
- 
reporter
- 
valueprotected long value
 
- 
- 
Constructor Details- 
MeterLogEntity
- 
MeterLogEntity
- 
MeterLogEntitypublic MeterLogEntity()
 
- 
- 
Method Details- 
getId
- 
setId
- 
getTimestamp
- 
setTimestamp
- 
getMilliseconds
- 
setMilliseconds
- 
getName
- 
setName
- 
getValuepublic long getValue()
- 
setValuepublic void setValue(long value) 
- 
getReporter
- 
setReporter
- 
getPersistentStateDescription copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
- getPersistentStatein interface- DbEntity
 
- 
getReferencedEntityIdsDescription copied from interface:HasDbReferencesScope: IN-MEMORY references - Specified by:
- getReferencedEntityIdsin interface- HasDbReferences
- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
 
- 
getReferencedEntitiesIdAndClassDescription copied from interface:HasDbReferencesScope: IN-MEMORY references - Specified by:
- getReferencedEntitiesIdAndClassin interface- HasDbReferences
- Returns:
- a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.
 
 
-