| Access | Constructor and Description |
|---|---|
| protected | |
| public | UnitOfWorkIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)
|
| UnitOfWorkIdentityMap | back to summary |
|---|---|
| protected UnitOfWorkIdentityMap() | |
| UnitOfWorkIdentityMap | back to summary |
|---|---|
| public UnitOfWorkIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated) | |
| acquireDeferredLock | back to summary |
|---|---|
| public CacheKey acquireDeferredLock(Object primaryKey, boolean isCacheCheckComplete) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| acquireLock | back to summary |
|---|---|
| public CacheKey acquireLock(Object primaryKey, boolean forMerge, boolean isCacheCheckComplete) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| acquireLockNoWait | back to summary |
|---|---|
| public CacheKey acquireLockNoWait(Object primaryKey, boolean forMerge) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| acquireLockWithWait | back to summary |
|---|---|
| public CacheKey acquireLockWithWait(Object primaryKey, boolean forMerge, int wait) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| acquireReadLockOnCacheKey | back to summary |
|---|---|
| public CacheKey acquireReadLockOnCacheKey(Object primaryKey) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| acquireReadLockOnCacheKeyNoWait | back to summary |
|---|---|
| public CacheKey acquireReadLockOnCacheKeyNoWait(Object primaryKey) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| createCacheKey | back to summary |
|---|---|
| public CacheKey createCacheKey(Object primaryKey, Object object, Object writeLockValue, long readTime) Overrides org. Doc from org. Create the correct type of CacheKey for this map.
| |
| getCacheKeyWithReadLock | back to summary |
|---|---|
| protected CacheKey getCacheKeyWithReadLock(Object primaryKey) Overrides org. Avoid acquiring any lock as uow is single threaded.
| |
| putCacheKeyIfAbsent | back to summary |
|---|---|
| protected CacheKey putCacheKeyIfAbsent(CacheKey searchKey) Overrides org. Use hashmap put, as no concurrency in unit of work.
| |
| remove | back to summary |
|---|---|
| public Object remove(CacheKey cacheKey) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |
| resetCacheKey | back to summary |
|---|---|
| public void resetCacheKey(CacheKey key, Object object, Object writeLockValue, long readTime) Overrides org. Avoid acquiring any lock as uow is single threaded.
| |
| setWriteLockValue | back to summary |
|---|---|
| public void setWriteLockValue(Object primaryKey, Object writeLockValue) Overrides org. Implements org. Avoid acquiring any lock as uow is single threaded.
| |