org.camunda.bpm.engine.impl.db.entitymanager.cache
Class CachedDbEntity
java.lang.Object
org.camunda.bpm.engine.impl.db.entitymanager.cache.CachedDbEntity
- All Implemented Interfaces:
- Recyclable
public class CachedDbEntity
- extends Object
- implements Recyclable
A cached entity
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbEntity
protected DbEntity dbEntity
copy
protected Object copy
entityState
protected DbEntityState entityState
CachedDbEntity
public CachedDbEntity()
recycle
public void recycle()
- Specified by:
recycle in interface Recyclable
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)
makeCopy
public void makeCopy()
getEntity
public DbEntity getEntity()
setEntity
public void setEntity(DbEntity dbEntity)
getEntityState
public DbEntityState getEntityState()
setEntityState
public void setEntityState(DbEntityState entityState)
Copyright © 2014 camunda services GmbH. All Rights Reserved.