Modifier and Type | Method and Description |
---|---|
void |
CollectionAction.beforeExecutions() |
void |
EntityUpdateAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
protected void |
CollectionAction.evict() |
Constructor and Description |
---|
CollectionRecreateAction(PersistentCollection collection,
CollectionPersister persister,
java.io.Serializable id,
SessionImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
NoCacheRegionFactoryAvailableException
Implementation of NoCacheRegionFactoryAvailableException.
|
Modifier and Type | Method and Description |
---|---|
void |
EhCacheMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
void |
EhCacheRegionFactory.start(Settings settings,
java.util.Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
void |
SingletonEhCacheRegionFactory.start(Settings settings,
java.util.Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
Modifier and Type | Method and Description |
---|---|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
NonstopAwareEntityRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
SoftLock lock) |
void |
NonstopAwareEntityRegionAccessStrategy.evict(java.lang.Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.evict(java.lang.Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
NonstopAwareCollectionRegionAccessStrategy.evict(java.lang.Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
NonstopAwareEntityRegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
void |
NonstopAwareCollectionRegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
java.lang.Object |
NonstopAwareEntityRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
NonstopAwareNaturalIdRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
NonstopAwareCollectionRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
SoftLock |
NonstopAwareEntityRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonstopAwareNaturalIdRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonstopAwareCollectionRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonstopAwareEntityRegionAccessStrategy.lockRegion()
Lock the entire region
|
SoftLock |
NonstopAwareNaturalIdRegionAccessStrategy.lockRegion()
Lock the entire region
|
SoftLock |
NonstopAwareCollectionRegionAccessStrategy.lockRegion()
Lock the entire region
|
boolean |
NonstopAwareEntityRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
NonstopAwareCollectionRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
NonstopAwareEntityRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
boolean |
NonstopAwareCollectionRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
NonstopAwareEntityRegionAccessStrategy.remove(java.lang.Object key)
Called after an item has become stale (before the transaction completes).
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.remove(java.lang.Object key)
Called after an item has become stale (before the transaction completes).
|
void |
NonstopAwareCollectionRegionAccessStrategy.remove(java.lang.Object key)
Called after an item has become stale (before the transaction completes).
|
void |
NonstopAwareEntityRegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
NonstopAwareCollectionRegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
NonstopAwareEntityRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonstopAwareCollectionRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonstopAwareEntityRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
void |
NonstopAwareNaturalIdRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
void |
NonstopAwareCollectionRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EhcacheEntityRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
CollectionRegionAccessStrategy |
EhcacheCollectionRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
NaturalIdRegionAccessStrategy |
EhcacheNaturalIdRegion.buildAccessStrategy(AccessType accessType) |
void |
EhcacheTransactionalDataRegion.clear()
Remove all mapping from this cache region.
|
void |
EhcacheDataRegion.destroy()
The "end state" contract of the region's lifecycle.
|
void |
EhcacheTransactionalDataRegion.put(java.lang.Object key,
java.lang.Object value)
Map the given value to the given key, replacing any existing mapping for this key
|
void |
EhcacheTransactionalDataRegion.remove(java.lang.Object key)
Remove the mapping for this key (if any exists).
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value)
Returns
false since this is a non-strict read/write cache access strategy |
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Returns
false since this is a non-strict read/write cache access strategy |
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
java.lang.Object |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
ReadOnlyEhcacheCollectionRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
TransactionalEhcacheEntityRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
TransactionalEhcacheNaturalIdRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
ReadOnlyEhcacheEntityRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
TransactionalEhcacheCollectionRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
java.lang.Object |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value)
A no-op since this is an asynchronous cache access strategy.
|
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value)
This cache is asynchronous hence a no-op
|
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value)
Returns
false since this is an asynchronous cache access strategy. |
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Returns
false since this is an asynchronous cache access strategy. |
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
This cache is asynchronous hence a no-op
|
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
A no-op since this is an asynchronous cache access strategy.
|
SoftLock |
TransactionalEhcacheEntityRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
Since this is a non-strict read/write strategy item locking is not used.
|
SoftLock |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
Since this is a non-strict read/write strategy item locking is not used.
|
SoftLock |
TransactionalEhcacheNaturalIdRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
TransactionalEhcacheCollectionRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
Since this is a non-strict read/write strategy item locking is not used.
|
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
ReadOnlyEhcacheCollectionRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
TransactionalEhcacheCollectionRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class
hierarchy.
|
void |
TransactionalEhcacheEntityRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
TransactionalEhcacheNaturalIdRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
TransactionalEhcacheCollectionRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.remove(java.lang.Object key)
A no-op since this is an asynchronous cache access strategy.
|
void |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
A no-op since this cache is read-only
|
void |
ReadOnlyEhcacheCollectionRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
A no-op since this cache is read-only
|
void |
TransactionalEhcacheEntityRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.
|
void |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.
|
void |
TransactionalEhcacheNaturalIdRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
ReadOnlyEhcacheEntityRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
A no-op since this cache is read-only
|
void |
TransactionalEhcacheCollectionRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.
|
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value)
A no-op since this is an asynchronous cache access strategy.
|
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value)
Removes the entry since this is a non-strict read/write cache strategy.
|
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion)
Removes the entry since this is a non-strict read/write cache strategy.
|
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion)
A no-op since this is an asynchronous cache access strategy.
|
Modifier and Type | Method and Description |
---|---|
static void |
HibernateUtil.validateEhcache(net.sf.ehcache.Ehcache cache)
Validates that the supplied Ehcache instance is valid for use as a Hibernate cache.
|
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
InfinispanRegionFactory.buildCollectionRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
InfinispanRegionFactory.buildEntityRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
NaturalIdRegion |
InfinispanRegionFactory.buildNaturalIdRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
InfinispanRegionFactory.buildQueryResultsRegion(java.lang.String regionName,
java.util.Properties properties)
Build a cache region specialized for storing query results
|
TimestampsRegion |
InfinispanRegionFactory.buildTimestampsRegion(java.lang.String regionName,
java.util.Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
protected org.infinispan.manager.EmbeddedCacheManager |
JndiInfinispanRegionFactory.createCacheManager(java.util.Properties properties) |
protected org.infinispan.manager.EmbeddedCacheManager |
InfinispanRegionFactory.createCacheManager(java.util.Properties properties) |
void |
InfinispanRegionFactory.start(Settings settings,
java.util.Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
void |
TypeOverrides.validateInfinispanConfiguration(org.infinispan.config.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionalAccessDelegate.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version) |
boolean |
TransactionalAccessDelegate.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock) |
void |
TransactionalAccessDelegate.evict(java.lang.Object key) |
void |
TransactionalAccessDelegate.evictAll() |
java.lang.Object |
TransactionalAccessDelegate.get(java.lang.Object key,
long txTimestamp) |
boolean |
TransactionalAccessDelegate.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version) |
SoftLock |
TransactionalAccessDelegate.lockItem(java.lang.Object key,
java.lang.Object version) |
SoftLock |
TransactionalAccessDelegate.lockRegion() |
boolean |
TransactionalAccessDelegate.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride) |
void |
TransactionalAccessDelegate.remove(java.lang.Object key) |
void |
TransactionalAccessDelegate.removeAll() |
void |
TransactionalAccessDelegate.unlockItem(java.lang.Object key,
SoftLock lock) |
void |
TransactionalAccessDelegate.unlockRegion(SoftLock lock) |
boolean |
TransactionalAccessDelegate.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
CollectionRegionAccessStrategy |
CollectionRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EntityRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
void |
BaseRegion.destroy() |
void |
BaseGeneralDataRegion.evict(java.lang.Object key) |
void |
BaseGeneralDataRegion.evictAll() |
java.lang.Object |
BaseGeneralDataRegion.get(java.lang.Object key) |
protected java.lang.Object |
BaseRegion.get(java.lang.Object key,
boolean suppressTimeout,
FlagAdapter... flagAdapters)
Performs a Infinispan
get(Fqn, Object) |
void |
BaseGeneralDataRegion.put(java.lang.Object key,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
NaturalIdRegionAccessStrategy |
NaturalIdRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultsRegionImpl.evict(java.lang.Object key) |
void |
QueryResultsRegionImpl.evictAll() |
java.lang.Object |
QueryResultsRegionImpl.get(java.lang.Object key) |
void |
QueryResultsRegionImpl.put(java.lang.Object key,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
void |
TimestampsRegionImpl.destroy() |
void |
TimestampsRegionImpl.evict(java.lang.Object key) |
void |
TimestampsRegionImpl.evictAll() |
java.lang.Object |
TimestampsRegionImpl.get(java.lang.Object key) |
void |
TimestampsRegionImpl.put(java.lang.Object key,
java.lang.Object value) |
void |
TimestampTypeOverrides.validateInfinispanConfiguration(org.infinispan.config.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
CacheAdapter.clear()
Clear the cache.
|
void |
CacheAdapterImpl.clear() |
void |
CacheAdapter.evict(java.lang.Object key)
Evict the given key from memory.
|
void |
CacheAdapterImpl.evict(java.lang.Object key) |
java.lang.Object |
CacheAdapter.get(java.lang.Object key)
Performs an
get(Object) on the cache, wrapping any exception in a CacheException . |
java.lang.Object |
CacheAdapterImpl.get(java.lang.Object key) |
java.lang.Object |
CacheAdapter.getAllowingTimeout(java.lang.Object key)
Performs an
get(Object) on the cache ignoring any TimeoutException
and wrapping any other exception in a CacheException . |
java.lang.Object |
CacheAdapterImpl.getAllowingTimeout(java.lang.Object key) |
void |
CacheAdapter.put(java.lang.Object key,
java.lang.Object value)
Performs a
put(Object, Object) on the cache,
wrapping any exception in a CacheException . |
void |
CacheAdapterImpl.put(java.lang.Object key,
java.lang.Object value) |
void |
CacheAdapter.putAllowingTimeout(java.lang.Object key,
java.lang.Object value)
Performs a
put(Object, Object) on the cache ignoring
any TimeoutException and wrapping any exception in a
CacheException . |
void |
CacheAdapterImpl.putAllowingTimeout(java.lang.Object key,
java.lang.Object value) |
void |
CacheAdapter.putForExternalRead(java.lang.Object key,
java.lang.Object value)
See
Cache.putForExternalRead(Object, Object) for detailed documentation. |
void |
CacheAdapterImpl.putForExternalRead(java.lang.Object key,
java.lang.Object value) |
void |
CacheAdapter.remove(java.lang.Object key)
Performs a
remove(Object) , wrapping any exception in
a CacheException . |
void |
CacheAdapterImpl.remove(java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
NoCachingRegionFactory.buildCollectionRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
EntityRegion |
NoCachingRegionFactory.buildEntityRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
NaturalIdRegion |
NoCachingRegionFactory.buildNaturalIdRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
NoCachingRegionFactory.buildQueryResultsRegion(java.lang.String regionName,
java.util.Properties properties) |
TimestampsRegion |
NoCachingRegionFactory.buildTimestampsRegion(java.lang.String regionName,
java.util.Properties properties) |
void |
StandardQueryCache.clear() |
void |
NoCachingRegionFactory.start(Settings settings,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EntityRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
CollectionRegionAccessStrategy |
CollectionRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
NaturalIdRegionAccessStrategy |
NaturalIdRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
CollectionRegion |
RegionFactory.buildCollectionRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
RegionFactory.buildEntityRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
NaturalIdRegion |
RegionFactory.buildNaturalIdRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing NaturalId to Primary Key mappings.
|
QueryResultsRegion |
RegionFactory.buildQueryResultsRegion(java.lang.String regionName,
java.util.Properties properties)
Build a cache region specialized for storing query results
|
TimestampsRegion |
RegionFactory.buildTimestampsRegion(java.lang.String regionName,
java.util.Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
void |
UpdateTimestampsCache.clear() |
void |
QueryCache.clear() |
void |
Region.destroy()
The "end state" contract of the region's lifecycle.
|
void |
GeneralDataRegion.evict(java.lang.Object key)
Evict an item from the cache immediately (without regard for transaction
isolation).
|
void |
GeneralDataRegion.evictAll()
Evict all contents of this particular cache region (without regard for transaction
isolation).
|
java.lang.Object |
GeneralDataRegion.get(java.lang.Object key)
Get an item from the cache.
|
void |
UpdateTimestampsCache.invalidate(java.io.Serializable[] spaces) |
void |
UpdateTimestampsCache.preinvalidate(java.io.Serializable[] spaces) |
void |
GeneralDataRegion.put(java.lang.Object key,
java.lang.Object value)
Put an item into the cache.
|
void |
RegionFactory.start(Settings settings,
java.util.Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
Modifier and Type | Method and Description |
---|---|
boolean |
NaturalIdRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterInsert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
NaturalIdRegionAccessStrategy.afterUpdate(java.lang.Object key,
java.lang.Object value,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
void |
RegionAccessStrategy.evict(java.lang.Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
RegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
java.lang.Object |
RegionAccessStrategy.get(java.lang.Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
NaturalIdRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.insert(java.lang.Object key,
java.lang.Object value,
java.lang.Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
SoftLock |
RegionAccessStrategy.lockItem(java.lang.Object key,
java.lang.Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
RegionAccessStrategy.lockRegion()
Lock the entire region
|
boolean |
RegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
RegionAccessStrategy.putFromLoad(java.lang.Object key,
java.lang.Object value,
long txTimestamp,
java.lang.Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
RegionAccessStrategy.remove(java.lang.Object key)
Called after an item has become stale (before the transaction completes).
|
void |
RegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
RegionAccessStrategy.unlockItem(java.lang.Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
RegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
boolean |
NaturalIdRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.update(java.lang.Object key,
java.lang.Object value,
java.lang.Object currentVersion,
java.lang.Object previousVersion)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
Modifier and Type | Method and Description |
---|---|
void |
EntityManagerMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
void |
EnversMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger.unableToReleaseCacheLock(CacheException ce) |
void |
CoreMessageLogger_$logger.unableToReleaseCacheLock(CacheException ce) |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
BasicCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
OneToManyPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
void |
C3P0MessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
void |
ProxoolMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
CachingRegionFactory.buildCollectionRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
EntityRegion |
CachingRegionFactory.buildEntityRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
NaturalIdRegion |
CachingRegionFactory.buildNaturalIdRegion(java.lang.String regionName,
java.util.Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
CachingRegionFactory.buildQueryResultsRegion(java.lang.String regionName,
java.util.Properties properties) |
TimestampsRegion |
CachingRegionFactory.buildTimestampsRegion(java.lang.String regionName,
java.util.Properties properties) |
void |
CachingRegionFactory.start(Settings settings,
java.util.Properties properties) |
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.