Modifier and Type | Method and Description |
---|---|
void |
CollectionAction.beforeExecutions() |
void |
EntityUpdateAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
protected void |
CollectionAction.evict() |
Constructor and Description |
---|
CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SessionImplementor session) |
CollectionRecreateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SessionImplementor session) |
CollectionRemoveAction(Object affectedOwner,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session)
Removes a persistent collection from a specified owner.
|
CollectionRemoveAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session)
Removes a persistent collection from its loaded owner.
|
CollectionUpdateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
NoCachingEnabledException
Implementation of NoCachingEnabledException.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReadOnlyCache.afterInsert(Object key,
Object value,
Object version)
Do nothing.
|
boolean |
ReadWriteCache.afterInsert(Object key,
Object value,
Object version)
Add the new item to the cache, checking that no other transaction has
accessed the item.
|
boolean |
NonstrictReadWriteCache.afterInsert(Object key,
Object value,
Object version)
Do nothing.
|
boolean |
CacheConcurrencyStrategy.afterInsert(Object key,
Object value,
Object version)
Deprecated.
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
TransactionalCache.afterInsert(Object key,
Object value,
Object version)
Do nothing.
|
boolean |
ReadOnlyCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Unsupported!
|
boolean |
ReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock clientLock)
Re-cache the updated state, if and only if there there are
no other concurrent soft locks.
|
boolean |
NonstrictReadWriteCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Invalidate the item (again, for safety).
|
boolean |
CacheConcurrencyStrategy.afterUpdate(Object key,
Object value,
Object version,
SoftLock lock)
Deprecated.
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
TransactionalCache.afterUpdate(Object key,
Object value,
Object version,
SoftLock clientLock)
Do nothing.
|
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.
|
Cache |
SingletonEhCacheProvider.buildCache(String name,
Properties properties)
Builds a Cache.
|
Cache |
EhCacheProvider.buildCache(String name,
Properties properties)
Builds a Cache.
|
Cache |
CacheProvider.buildCache(String regionName,
Properties properties)
Deprecated.
Configure the cache
|
Cache |
HashtableCacheProvider.buildCache(String regionName,
Properties properties) |
Cache |
NoCacheProvider.buildCache(String regionName,
Properties properties)
Configure the cache
|
CollectionRegion |
DelegatingRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
CollectionRegion |
RegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
DelegatingRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
RegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
QueryResultsRegion |
DelegatingRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties) |
QueryResultsRegion |
RegionFactory.buildQueryResultsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing query results
|
TimestampsRegion |
DelegatingRegionFactory.buildTimestampsRegion(String regionName,
Properties properties) |
TimestampsRegion |
RegionFactory.buildTimestampsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
void |
EhCache.clear()
Remove all elements in the cache, but leave the cache
in a useable state.
|
void |
HashtableCache.clear() |
void |
ReadOnlyCache.clear() |
void |
QueryCache.clear() |
void |
StandardQueryCache.clear() |
void |
UpdateTimestampsCache.clear() |
void |
Cache.clear()
Deprecated.
Clear the cache
|
void |
ReadWriteCache.clear() |
void |
NonstrictReadWriteCache.clear() |
void |
CacheConcurrencyStrategy.clear()
Deprecated.
Evict all items from the cache immediately.
|
void |
TransactionalCache.clear() |
void |
EhCache.destroy()
Remove the cache and make it unuseable.
|
void |
HashtableCache.destroy() |
void |
Region.destroy()
The "end state" contract of the region's lifecycle.
|
void |
Cache.destroy()
Deprecated.
Clean up
|
void |
ReadOnlyCache.evict(Object key)
Do nothing.
|
void |
ReadWriteCache.evict(Object key)
Do nothing.
|
void |
NonstrictReadWriteCache.evict(Object key)
Invalidate the item
|
void |
GeneralDataRegion.evict(Object key)
Evict an item from the cache immediately (without regard for transaction
isolation).
|
void |
CacheConcurrencyStrategy.evict(Object key)
Deprecated.
Called after an item has become stale (before the transaction completes).
|
void |
TransactionalCache.evict(Object key) |
void |
GeneralDataRegion.evictAll()
Evict all contents of this particular cache region (without regard for transaction
isolation).
|
Object |
EhCache.get(Object key)
Gets a value of an element which matches the given key.
|
Object |
HashtableCache.get(Object key) |
Object |
Cache.get(Object key)
Deprecated.
Get an item from the cache, nontransactionally
|
Object |
GeneralDataRegion.get(Object key)
Get an item from the cache.
|
Object |
ReadOnlyCache.get(Object key,
long timestamp) |
Object |
ReadWriteCache.get(Object key,
long txTimestamp)
Do not return an item whose timestamp is later than the current
transaction timestamp.
|
Object |
NonstrictReadWriteCache.get(Object key,
long txTimestamp)
Get the most recent version, if available.
|
Object |
CacheConcurrencyStrategy.get(Object key,
long txTimestamp)
Deprecated.
Attempt to retrieve an object from the cache.
|
Object |
TransactionalCache.get(Object key,
long txTimestamp) |
boolean |
CacheConcurrencyStrategy.insert(Object key,
Object value,
Object currentVersion)
Deprecated.
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalCache.insert(Object key,
Object value,
Object currentVersion) |
void |
UpdateTimestampsCache.invalidate(Serializable[] spaces) |
void |
EhCache.lock(Object key)
Calls to this method should perform there own synchronization.
|
void |
HashtableCache.lock(Object key) |
void |
Cache.lock(Object key)
Deprecated.
If this is a clustered cache, lock the item
|
SoftLock |
ReadWriteCache.lock(Object key,
Object version)
Stop any other transactions reading or writing this item to/from
the cache.
|
SoftLock |
NonstrictReadWriteCache.lock(Object key,
Object version)
Do nothing.
|
SoftLock |
CacheConcurrencyStrategy.lock(Object key,
Object version)
Deprecated.
We are going to attempt to update/delete the keyed object.
|
SoftLock |
TransactionalCache.lock(Object key,
Object version)
Do nothing, returning null.
|
void |
UpdateTimestampsCache.preinvalidate(Serializable[] spaces) |
void |
EhCache.put(Object key,
Object value)
Puts an object into the cache.
|
void |
HashtableCache.put(Object key,
Object value) |
void |
Cache.put(Object key,
Object value)
Deprecated.
Add an item to the cache, nontransactionally, with
failfast semantics
|
void |
GeneralDataRegion.put(Object key,
Object value)
Put an item into the cache.
|
boolean |
ReadOnlyCache.put(Object key,
Object value,
long timestamp,
Object version,
Comparator versionComparator,
boolean minimalPut) |
boolean |
ReadWriteCache.put(Object key,
Object value,
long txTimestamp,
Object version,
Comparator versionComparator,
boolean minimalPut)
Do not add an item to the cache unless the current transaction
timestamp is later than the timestamp at which the item was
invalidated.
|
boolean |
NonstrictReadWriteCache.put(Object key,
Object value,
long txTimestamp,
Object version,
Comparator versionComparator,
boolean minimalPut)
Add an item to the cache.
|
boolean |
CacheConcurrencyStrategy.put(Object key,
Object value,
long txTimestamp,
Object version,
Comparator versionComparator,
boolean minimalPut)
Deprecated.
Attempt to cache an object, after loading from the database.
|
boolean |
TransactionalCache.put(Object key,
Object value,
long txTimestamp,
Object version,
Comparator versionComparator,
boolean minimalPut) |
Object |
EhCache.read(Object key) |
Object |
HashtableCache.read(Object key) |
Object |
Cache.read(Object key)
Deprecated.
Get an item from the cache
|
void |
ReadWriteCache.release(Object key,
SoftLock clientLock)
Release the soft lock on the item.
|
void |
NonstrictReadWriteCache.release(Object key,
SoftLock lock)
Invalidate the item (again, for safety).
|
void |
CacheConcurrencyStrategy.release(Object key,
SoftLock lock)
Deprecated.
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
TransactionalCache.release(Object key,
SoftLock clientLock)
Do nothing.
|
void |
EhCache.remove(Object key)
Removes the element which matches the key.
|
void |
HashtableCache.remove(Object key) |
void |
ReadOnlyCache.remove(Object key) |
void |
Cache.remove(Object key)
Deprecated.
Remove an item from the cache
|
void |
ReadWriteCache.remove(Object key) |
void |
NonstrictReadWriteCache.remove(Object key) |
void |
CacheConcurrencyStrategy.remove(Object key)
Deprecated.
Evict an item from the cache immediately (without regard for transaction
isolation).
|
void |
TransactionalCache.remove(Object key) |
void |
SingletonEhCacheProvider.start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
EhCacheProvider.start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
CacheProvider.start(Properties properties)
Deprecated.
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
AbstractJndiBoundCacheProvider.start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory
construction.
|
void |
HashtableCacheProvider.start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation
during SessionFactory construction.
|
void |
NoCacheProvider.start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory
construction.
|
void |
DelegatingRegionFactory.start(Settings settings,
Properties properties) |
void |
RegionFactory.start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
void |
EhCache.unlock(Object key)
Calls to this method should perform there own synchronization.
|
void |
HashtableCache.unlock(Object key) |
void |
Cache.unlock(Object key)
Deprecated.
If this is a clustered cache, unlock the item
|
void |
EhCache.update(Object key,
Object value)
Puts an object into the cache.
|
void |
HashtableCache.update(Object key,
Object value) |
void |
Cache.update(Object key,
Object value)
Deprecated.
Add an item to the cache
|
boolean |
CacheConcurrencyStrategy.update(Object key,
Object value,
Object currentVersion,
Object previousVersion)
Deprecated.
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalCache.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityRegionAccessStrategy.afterInsert(Object key,
Object value,
Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
void |
CollectionRegionAccessStrategy.evict(Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
EntityRegionAccessStrategy.evict(Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
CollectionRegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
void |
EntityRegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
Object |
CollectionRegionAccessStrategy.get(Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
Object |
EntityRegionAccessStrategy.get(Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
EntityRegionAccessStrategy.insert(Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
SoftLock |
CollectionRegionAccessStrategy.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
EntityRegionAccessStrategy.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
CollectionRegionAccessStrategy.lockRegion()
Lock the entire region
|
SoftLock |
EntityRegionAccessStrategy.lockRegion()
Lock the entire region
|
boolean |
CollectionRegionAccessStrategy.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
EntityRegionAccessStrategy.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
CollectionRegionAccessStrategy.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
boolean |
EntityRegionAccessStrategy.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
CollectionRegionAccessStrategy.remove(Object key)
Called after an item has become stale (before the transaction completes).
|
void |
EntityRegionAccessStrategy.remove(Object key)
Called after an item has become stale (before the transaction completes).
|
void |
CollectionRegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
EntityRegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
CollectionRegionAccessStrategy.unlockItem(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 |
EntityRegionAccessStrategy.unlockItem(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 |
CollectionRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
void |
EntityRegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
boolean |
EntityRegionAccessStrategy.update(Object key,
Object value,
Object currentVersion,
Object previousVersion)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
NoCachingRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
NoCachingRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
NoCachingRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties) |
TimestampsRegion |
NoCachingRegionFactory.buildTimestampsRegion(String regionName,
Properties properties) |
void |
NoCachingRegionFactory.start(Settings settings,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityAccessStrategyAdapter.afterInsert(Object key,
Object value,
Object version) |
boolean |
EntityAccessStrategyAdapter.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
EntityRegionAccessStrategy |
EntityRegionAdapter.buildAccessStrategy(AccessType accessType) |
CollectionRegionAccessStrategy |
CollectionRegionAdapter.buildAccessStrategy(AccessType accessType) |
CollectionRegion |
RegionFactoryCacheProviderBridge.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
RegionFactoryCacheProviderBridge.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
RegionFactoryCacheProviderBridge.buildQueryResultsRegion(String regionName,
Properties properties) |
TimestampsRegion |
RegionFactoryCacheProviderBridge.buildTimestampsRegion(String regionName,
Properties properties) |
void |
BaseRegionAdapter.clear() |
void |
BaseRegionAdapter.destroy() |
void |
CollectionAccessStrategyAdapter.evict(Object key) |
void |
EntityAccessStrategyAdapter.evict(Object key) |
void |
BaseGeneralDataRegionAdapter.evict(Object key) |
void |
CollectionAccessStrategyAdapter.evictAll() |
void |
EntityAccessStrategyAdapter.evictAll() |
void |
BaseGeneralDataRegionAdapter.evictAll() |
Object |
BaseGeneralDataRegionAdapter.get(Object key) |
Object |
CollectionAccessStrategyAdapter.get(Object key,
long txTimestamp) |
Object |
EntityAccessStrategyAdapter.get(Object key,
long txTimestamp) |
boolean |
EntityAccessStrategyAdapter.insert(Object key,
Object value,
Object version) |
SoftLock |
CollectionAccessStrategyAdapter.lockItem(Object key,
Object version) |
SoftLock |
EntityAccessStrategyAdapter.lockItem(Object key,
Object version) |
SoftLock |
CollectionAccessStrategyAdapter.lockRegion() |
SoftLock |
EntityAccessStrategyAdapter.lockRegion() |
void |
BaseGeneralDataRegionAdapter.put(Object key,
Object value) |
boolean |
CollectionAccessStrategyAdapter.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
EntityAccessStrategyAdapter.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
CollectionAccessStrategyAdapter.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
EntityAccessStrategyAdapter.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
CollectionAccessStrategyAdapter.remove(Object key) |
void |
EntityAccessStrategyAdapter.remove(Object key) |
void |
CollectionAccessStrategyAdapter.removeAll() |
void |
EntityAccessStrategyAdapter.removeAll() |
void |
RegionFactoryCacheProviderBridge.start(Settings settings,
Properties properties) |
void |
CollectionAccessStrategyAdapter.unlockItem(Object key,
SoftLock lock) |
void |
EntityAccessStrategyAdapter.unlockItem(Object key,
SoftLock lock) |
void |
CollectionAccessStrategyAdapter.unlockRegion(SoftLock lock) |
void |
EntityAccessStrategyAdapter.unlockRegion(SoftLock lock) |
boolean |
EntityAccessStrategyAdapter.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
InfinispanRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
InfinispanRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
QueryResultsRegion |
InfinispanRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing query results
|
TimestampsRegion |
InfinispanRegionFactory.buildTimestampsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
protected org.infinispan.manager.EmbeddedCacheManager |
InfinispanRegionFactory.createCacheManager(Properties properties) |
protected org.infinispan.manager.EmbeddedCacheManager |
JndiInfinispanRegionFactory.createCacheManager(Properties properties) |
void |
InfinispanRegionFactory.start(Settings settings,
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(Object key,
Object value,
Object version) |
boolean |
TransactionalAccessDelegate.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
void |
TransactionalAccessDelegate.evict(Object key) |
void |
TransactionalAccessDelegate.evictAll() |
Object |
TransactionalAccessDelegate.get(Object key,
long txTimestamp) |
boolean |
TransactionalAccessDelegate.insert(Object key,
Object value,
Object version) |
SoftLock |
TransactionalAccessDelegate.lockItem(Object key,
Object version) |
SoftLock |
TransactionalAccessDelegate.lockRegion() |
boolean |
TransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
TransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
TransactionalAccessDelegate.remove(Object key) |
void |
TransactionalAccessDelegate.removeAll() |
void |
TransactionalAccessDelegate.unlockItem(Object key,
SoftLock lock) |
void |
TransactionalAccessDelegate.unlockRegion(SoftLock lock) |
boolean |
TransactionalAccessDelegate.update(Object key,
Object value,
Object currentVersion,
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(Object key) |
void |
BaseGeneralDataRegion.evictAll() |
Object |
BaseGeneralDataRegion.get(Object key) |
protected Object |
BaseRegion.get(Object key,
boolean suppressTimeout,
FlagAdapter... flagAdapters)
Performs a Infinispan
get(Fqn, Object) |
void |
BaseGeneralDataRegion.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultsRegionImpl.evict(Object key) |
void |
QueryResultsRegionImpl.evictAll() |
Object |
QueryResultsRegionImpl.get(Object key) |
void |
QueryResultsRegionImpl.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
TimestampsRegionImpl.destroy() |
void |
TimestampsRegionImpl.evict(Object key) |
void |
TimestampsRegionImpl.evictAll() |
Object |
TimestampsRegionImpl.get(Object key) |
void |
TimestampsRegionImpl.put(Object key,
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(Object key)
Evict the given key from memory.
|
void |
CacheAdapterImpl.evict(Object key) |
Object |
CacheAdapter.get(Object key)
Performs an
get(Object) on the cache, wrapping any exception in a CacheException . |
Object |
CacheAdapterImpl.get(Object key) |
Object |
CacheAdapter.getAllowingTimeout(Object key)
Performs an
get(Object) on the cache ignoring any TimeoutException
and wrapping any other exception in a CacheException . |
Object |
CacheAdapterImpl.getAllowingTimeout(Object key) |
void |
CacheAdapter.put(Object key,
Object value)
Performs a
put(Object, Object) on the cache,
wrapping any exception in a CacheException . |
void |
CacheAdapterImpl.put(Object key,
Object value) |
void |
CacheAdapter.putAllowingTimeout(Object key,
Object value)
Performs a
put(Object, Object) on the cache ignoring
any TimeoutException and wrapping any exception in a
CacheException . |
void |
CacheAdapterImpl.putAllowingTimeout(Object key,
Object value) |
void |
CacheAdapter.putForExternalRead(Object key,
Object value)
See
Cache.putForExternalRead(Object, Object) for detailed documentation. |
void |
CacheAdapterImpl.putForExternalRead(Object key,
Object value) |
void |
CacheAdapter.remove(Object key)
Performs a
remove(Object) , wrapping any exception in
a CacheException . |
void |
CacheAdapterImpl.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
JBossCacheRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Deprecated.
|
EntityRegion |
JBossCacheRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Deprecated.
|
QueryResultsRegion |
JBossCacheRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties)
Deprecated.
|
TimestampsRegion |
JBossCacheRegionFactory.buildTimestampsRegion(String regionName,
Properties properties)
Deprecated.
|
void |
BasicRegionAdapter.destroy() |
void |
JBossCacheRegionFactory.start(Settings settings,
Properties properties)
Deprecated.
|
void |
CacheInstanceManager.start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
CacheInstanceManager.
|
protected Object |
BasicRegionAdapter.suspendAndGet(Object key,
org.jboss.cache.config.Option opt,
boolean suppressTimeout)
Performs a JBoss Cache
get(Fqn, Object) after first
suspending any ongoing transaction . |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionalAccessDelegate.afterInsert(Object key,
Object value,
Object version) |
boolean |
TransactionalAccessDelegate.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
void |
TransactionalAccessDelegate.evict(Object key) |
void |
OptimisticTransactionalAccessDelegate.evict(Object key)
Overrides the
superclass by adding a
NonLockingDataVersion to the invocation. |
void |
TransactionalAccessDelegate.evictAll() |
void |
OptimisticTransactionalAccessDelegate.evictAll() |
Object |
TransactionalAccessDelegate.get(Object key,
long txTimestamp) |
boolean |
TransactionalAccessDelegate.insert(Object key,
Object value,
Object version) |
boolean |
OptimisticTransactionalAccessDelegate.insert(Object key,
Object value,
Object version)
Overrides the
superclass
by adding a DataVersion to the invocation. |
SoftLock |
TransactionalAccessDelegate.lockItem(Object key,
Object version) |
SoftLock |
TransactionalAccessDelegate.lockRegion() |
boolean |
TransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
OptimisticTransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
TransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
OptimisticTransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
TransactionalAccessDelegate.remove(Object key) |
void |
OptimisticTransactionalAccessDelegate.remove(Object key) |
void |
TransactionalAccessDelegate.removeAll() |
void |
OptimisticTransactionalAccessDelegate.removeAll() |
void |
TransactionalAccessDelegate.unlockItem(Object key,
SoftLock lock) |
void |
TransactionalAccessDelegate.unlockRegion(SoftLock lock) |
boolean |
TransactionalAccessDelegate.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
OptimisticTransactionalAccessDelegate.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
void |
JndiMultiplexingCacheInstanceManager.start(Settings settings,
Properties properties) |
void |
SharedCacheInstanceManager.start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
CacheInstanceManager.
|
void |
MultiplexingCacheInstanceManager.start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
CacheInstanceManager.
|
Modifier and Type | Method and Description |
---|---|
CollectionRegionAccessStrategy |
CollectionRegionImpl.buildAccessStrategy(AccessType accessType) |
void |
TransactionalAccess.evict(Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
TransactionalAccess.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
Object |
TransactionalAccess.get(Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
SoftLock |
ReadOnlyAccess.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
OptimisticReadOnlyAccess.lockItem(Object key,
Object version) |
SoftLock |
TransactionalAccess.lockItem(Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
ReadOnlyAccess.lockRegion()
Lock the entire region
|
SoftLock |
OptimisticReadOnlyAccess.lockRegion() |
SoftLock |
TransactionalAccess.lockRegion()
Lock the entire region
|
boolean |
TransactionalAccess.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
TransactionalAccess.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
TransactionalAccess.remove(Object key)
Called after an item has become stale (before the transaction completes).
|
void |
TransactionalAccess.removeAll()
Called to evict data from the entire region
|
void |
ReadOnlyAccess.unlockItem(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 |
OptimisticReadOnlyAccess.unlockItem(Object key,
SoftLock lock) |
void |
TransactionalAccess.unlockItem(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 |
ReadOnlyAccess.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
void |
OptimisticReadOnlyAccess.unlockRegion(SoftLock lock) |
void |
TransactionalAccess.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionalAccess.afterInsert(Object key,
Object value,
Object version) |
boolean |
ReadOnlyAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
OptimisticReadOnlyAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
TransactionalAccess.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
EntityRegionAccessStrategy |
EntityRegionImpl.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
void |
TransactionalAccess.evict(Object key) |
void |
TransactionalAccess.evictAll() |
Object |
TransactionalAccess.get(Object key,
long txTimestamp) |
boolean |
TransactionalAccess.insert(Object key,
Object value,
Object version) |
SoftLock |
ReadOnlyAccess.lockItem(Object key,
Object version) |
SoftLock |
OptimisticReadOnlyAccess.lockItem(Object key,
Object version) |
SoftLock |
TransactionalAccess.lockItem(Object key,
Object version) |
SoftLock |
ReadOnlyAccess.lockRegion() |
SoftLock |
OptimisticReadOnlyAccess.lockRegion() |
SoftLock |
TransactionalAccess.lockRegion() |
boolean |
TransactionalAccess.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
TransactionalAccess.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
TransactionalAccess.remove(Object key) |
void |
TransactionalAccess.removeAll() |
void |
ReadOnlyAccess.unlockItem(Object key,
SoftLock lock) |
void |
OptimisticReadOnlyAccess.unlockItem(Object key,
SoftLock lock) |
void |
TransactionalAccess.unlockItem(Object key,
SoftLock lock) |
void |
ReadOnlyAccess.unlockRegion(SoftLock lock) |
void |
OptimisticReadOnlyAccess.unlockRegion(SoftLock lock) |
void |
TransactionalAccess.unlockRegion(SoftLock lock) |
boolean |
ReadOnlyAccess.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
OptimisticReadOnlyAccess.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
TransactionalAccess.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultsRegionImpl.evict(Object key) |
void |
QueryResultsRegionImpl.evictAll() |
Object |
QueryResultsRegionImpl.get(Object key) |
void |
QueryResultsRegionImpl.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
TimestampsRegionImpl.destroy() |
void |
ClusteredConcurrentTimestampsRegionImpl.destroy() |
void |
TimestampsRegionImpl.evict(Object key) |
void |
ClusteredConcurrentTimestampsRegionImpl.evict(Object key) |
void |
TimestampsRegionImpl.evictAll() |
void |
ClusteredConcurrentTimestampsRegionImpl.evictAll() |
Object |
TimestampsRegionImpl.get(Object key) |
Object |
ClusteredConcurrentTimestampsRegionImpl.get(Object key) |
void |
ClusteredConcurrentTimestampsRegionImpl.invalidate(Object key,
Object value,
Object preInvalidateValue) |
void |
ClusteredConcurrentTimestampsRegionImpl.preInvalidate(Object key,
Object value) |
void |
TimestampsRegionImpl.put(Object key,
Object value) |
void |
ClusteredConcurrentTimestampsRegionImpl.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
static org.jboss.cache.Node |
CacheHelper.addNode(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn fqn,
boolean localOnly,
boolean resident,
org.jboss.cache.optimistic.DataVersion version) |
static Object |
CacheHelper.get(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key)
Builds an
Fqn from region and key
and performs a JBoss Cache get(Fqn, Object) , wrapping any
exception in a CacheException . |
static Object |
CacheHelper.getAllowingTimeout(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key)
Builds an
Fqn from region and key
and performs a JBoss Cache get(Fqn, Object) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.put(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
Object value)
Builds an
Fqn from region and key
and performs a JBoss Cache put(Object, Object) , wrapping
any exception in a CacheException . |
static void |
CacheHelper.put(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
Object value,
org.jboss.cache.config.Option option)
Builds an
Fqn from region and key
and performs a JBoss Cache put(Object, Object) , wrapping
any exception in a CacheException . |
static void |
CacheHelper.putAllowingTimeout(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
Object value,
org.jboss.cache.config.Option option)
Builds an
Fqn from region and key
and performs a JBoss Cache put(Object, Object) , ignoring any
TimeoutException and wrapping any other exception in a CacheException . |
static boolean |
CacheHelper.putForExternalRead(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
Object value)
Builds an
Fqn from region and key
and performs a JBoss Cache
putForExternalRead(Object, Object) , wrapping any
exception in a CacheException . |
static boolean |
CacheHelper.putForExternalRead(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
Object value,
org.jboss.cache.config.Option option)
Builds an
Fqn from region and key
and performs a JBoss Cache
putForExternalRead(Object, Object) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.remove(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key)
Builds an
Fqn from region and key
and performs a JBoss Cache removeNode(Fqn) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.remove(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
org.jboss.cache.config.Option option)
Builds an
Fqn from region and key
and performs a JBoss Cache removeNode(Fqn) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.removeAll(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region)
Performs a JBoss Cache
removeNode(Fqn) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.removeAll(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
org.jboss.cache.config.Option option)
Performs a JBoss Cache
removeNode(Fqn) , wrapping any
exception in a CacheException . |
static void |
CacheHelper.removeNode(org.jboss.cache.Cache cache,
org.jboss.cache.Fqn region,
Object key,
org.jboss.cache.config.Option option)
Performs a JBoss Cache
removeNode(Fqn) , wrapping any
exception in a CacheException . |
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) |
Copyright © 2002-2012 Red Hat Middleware, LLC. All Rights Reserved