|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.api.concern.ConcernOf<EntityStore>
org.qi4j.spi.entitystore.ConcurrentModificationCheckConcern
public abstract class ConcurrentModificationCheckConcern
Concern that helps EntityStores do concurrent modification checks.
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.
Field Summary |
---|
Fields inherited from class org.qi4j.api.concern.ConcernOf |
---|
next |
Constructor Summary | |
---|---|
ConcurrentModificationCheckConcern()
|
Method Summary | |
---|---|
EntityStoreUnitOfWork |
newUnitOfWork(Usecase usecase,
Module module,
long currentTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.qi4j.spi.entitystore.EntityStore |
---|
entityStates |
Constructor Detail |
---|
public ConcurrentModificationCheckConcern()
Method Detail |
---|
public EntityStoreUnitOfWork newUnitOfWork(Usecase usecase, Module module, long currentTime)
newUnitOfWork
in interface EntityStore
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |