| Access | Constructor and Description |
|---|---|
| public | EntityTransactionalAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, EntityDataCachingConfig accessConfig)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | afterInsert(SharedSessionContractImplementor
Current session session, Object The item key key, Object The item value, Object The item's version value version)Implements org. |
| public boolean | afterUpdate(SharedSessionContractImplementor
Current session session, Object The item key key, Object The item value, Object The item's current version value currentVersion, Object The item's previous version value previousVersion, SoftLock The lock previously obtained from lock)lockItemImplements org. |
| public AccessType | getAccessType()
Implements org. |
| public boolean | insert(SharedSessionContractImplementor
Current session session, Object The item key key, Object The item value, Object The item's version value version)Implements org. |
| public boolean | update(SharedSessionContractImplementor
Current session session, Object The item key key, Object The item value, Object The item's current version value currentVersion, Object The item's previous version value previousVersion)Implements org. |
| EntityTransactionalAccess | back to summary |
|---|---|
| public EntityTransactionalAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, EntityDataCachingConfig accessConfig) | |
| afterInsert | back to summary |
|---|---|
| public boolean afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version) Implements org. Doc from org. Called afterQuery an item has been inserted (afterQuery the transaction completes), instead of calling release(). This method is used by "asynchronous" concurrency strategies.
| |
| afterUpdate | back to summary |
|---|---|
| public boolean afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock) Implements org. Doc from org. Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release(). This method is used by "asynchronous" concurrency strategies.
| |
| getAccessType | back to summary |
|---|---|
| public AccessType getAccessType() Implements org. Doc from org. The type of access implemented
| |
| insert | back to summary |
|---|---|
| public boolean insert(SharedSessionContractImplementor session, Object key, Object value, Object version) Implements org. Doc from org. Called afterQuery an item has been inserted (beforeQuery the transaction completes), instead of calling evict(). This method is used by "synchronous" concurrency strategies.
| |
| update | back to summary |
|---|---|
| public boolean update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion) Implements org. Doc from org. Called afterQuery an item has been updated (beforeQuery the transaction completes), instead of calling evict(). This method is used by "synchronous" concurrency strategies.
| |