Class CachedDbEntity
java.lang.Object
org.camunda.bpm.engine.impl.db.entitymanager.cache.CachedDbEntity
- All Implemented Interfaces:
Recyclable
A cached entity
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected Object
protected DbEntity
protected DbEntityState
Ids of referenced entities of the same entity type -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
boolean
isDirty()
Allows checking whether this entity is dirty.void
makeCopy()
void
recycle()
void
void
setEntityState
(DbEntityState entityState) toString()
-
Field Details
-
dbEntity
-
copy
-
entityState
-
flushRelevantEntityReferences
Ids of referenced entities of the same entity type
-
-
Constructor Details
-
CachedDbEntity
public CachedDbEntity()
-
-
Method Details
-
recycle
public void recycle()- Specified by:
recycle
in interfaceRecyclable
-
isDirty
public boolean isDirty()Allows checking whether this entity is dirty.- Returns:
- true if the entity is dirty (state has changed since it was put into the cache)
-
forceSetDirty
public void forceSetDirty() -
makeCopy
public void makeCopy() -
toString
-
determineEntityReferences
public void determineEntityReferences() -
areFlushRelevantReferencesDetermined
public boolean areFlushRelevantReferencesDetermined() -
getFlushRelevantEntityReferences
-
getEntity
-
setEntity
-
getEntityState
-
setEntityState
-
getEntityType
-