public abstract class ConcurrentModificationCheckConcern extends ConcernOf<EntityStore> implements EntityStore
It caches the versions of state that it loads, and forgets them when the state is committed. For normal operation this means that it does not have to go down to the underlying store to get the current version. Whenever there is a concurrent modification the store will most likely have to check with the underlying store what the current version is.
Constructor and Description |
---|
ConcurrentModificationCheckConcern() |
Modifier and Type | Method and Description |
---|---|
EntityStoreUnitOfWork |
newUnitOfWork(ModuleDescriptor module,
Usecase usecase,
Instant currentTime) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
entityStates
public EntityStoreUnitOfWork newUnitOfWork(ModuleDescriptor module, Usecase usecase, Instant currentTime)
newUnitOfWork
in interface EntityStore