public interface CollectionRegion extends TransactionalDataRegion
Impl note: Hibernate always deals with changes to collections which (potentially) has its data in the L2 cache by removing that collection data; in other words it never tries to update the cached state, thereby allowing it to avoid a bunch of concurrency problems.
Modifier and Type | Method and Description |
---|---|
CollectionRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
getCacheDataDescription, isTransactionAware
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
accessType
- The type of access strategy to build; never null.CacheException
- Usually indicates mis-configuration.Copyright © 2018 JBoss by Red Hat. All rights reserved.