Package | Description |
---|---|
org.infinispan.eviction |
Classes related to eviction.
|
org.infinispan.loaders |
This package contains loaders and stores, which are used for overflow or persistence.
|
org.infinispan.loaders.bucket |
Abstract classes that use hashed buckets to store entries.
|
org.infinispan.loaders.cluster |
A
CacheLoader (not CacheStore ) that polls other nodes in the cluster for state. |
org.infinispan.loaders.decorators |
This package contains loaders and stores, which are used for overflow or persistence.
|
org.infinispan.loaders.file |
Simple filesystem-based
CacheStore implementation. |
org.infinispan.loaders.keymappers | |
org.infinispan.util.logging |
Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.
|
Modifier and Type | Method and Description |
---|---|
void |
PassivationManagerImpl.passivateAll() |
void |
PassivationManager.passivateAll() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCacheStore.applyModifications(List<? extends Modification> mods) |
void |
LockSupportCacheStore.clear() |
void |
CacheStore.clear()
Clears all entries in the store
|
protected abstract void |
LockSupportCacheStore.clearLockSafe() |
void |
CacheStore.commit(GlobalTransaction tx)
Commits a transaction that has been previously prepared.
|
void |
AbstractCacheStore.commit(GlobalTransaction tx) |
boolean |
CacheLoader.containsKey(Object key) |
boolean |
AbstractCacheLoader.containsKey(Object key)
This implementation delegates to
CacheLoader.load(Object) , to ensure that a response is
returned only if the entry is not expired. |
void |
LockSupportCacheStore.fromStream(ObjectInput objectInput) |
void |
CacheStore.fromStream(ObjectInput inputStream)
Writes contents of the stream to the store.
|
protected abstract void |
LockSupportCacheStore.fromStreamLockSafe(ObjectInput ois) |
protected abstract L |
LockSupportCacheStore.getLockFromKey(Object key) |
void |
LockSupportCacheStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
void |
CacheLoader.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m)
Used to initialize a cache loader.
|
void |
AbstractCacheStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
void |
AbstractCacheLoader.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
Set<InternalCacheEntry> |
LockSupportCacheStore.load(int maxEntries) |
Set<InternalCacheEntry> |
CacheLoader.load(int numEntries)
Loads up to a specific number of entries.
|
InternalCacheEntry |
LockSupportCacheStore.load(Object key) |
InternalCacheEntry |
CacheLoader.load(Object key)
Loads an entry mapped to by a given key.
|
Set<InternalCacheEntry> |
LockSupportCacheStore.loadAll() |
Set<InternalCacheEntry> |
CacheLoader.loadAll()
Loads all entries in the loader.
|
Set<Object> |
LockSupportCacheStore.loadAllKeys(Set<Object> keysToExclude) |
Set<Object> |
CacheLoader.loadAllKeys(Set<Object> keysToExclude)
Loads a set of all keys, excluding a filter set.
|
protected abstract Set<Object> |
LockSupportCacheStore.loadAllKeysLockSafe(Set<Object> keysToExclude) |
protected abstract Set<InternalCacheEntry> |
LockSupportCacheStore.loadAllLockSafe() |
protected abstract Set<InternalCacheEntry> |
LockSupportCacheStore.loadLockSafe(int maxEntries) |
protected abstract InternalCacheEntry |
LockSupportCacheStore.loadLockSafe(Object key,
L lockingKey) |
void |
CacheStore.prepare(List<? extends Modification> modifications,
GlobalTransaction tx,
boolean isOnePhase)
Issues a prepare call with a set of modifications to be applied to the cache store
|
void |
AbstractCacheStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase) |
void |
CacheStore.purgeExpired()
Purges expired entries from the store.
|
void |
AbstractCacheStore.purgeExpired() |
protected abstract void |
AbstractCacheStore.purgeInternal() |
boolean |
LockSupportCacheStore.remove(Object key) |
boolean |
CacheStore.remove(Object key)
Removes an entry in the store.
|
void |
CacheStore.removeAll(Set<Object> keys)
Bulk remove operation
|
void |
AbstractCacheStore.removeAll(Set<Object> keys) |
protected abstract boolean |
LockSupportCacheStore.removeLockSafe(Object key,
L lockingKey) |
protected static void |
AbstractCacheStore.safeClose(InputStream stream) |
protected static void |
AbstractCacheStore.safeClose(OutputStream stream) |
void |
LockSupportCacheStore.start() |
void |
CacheLoader.start() |
void |
AbstractCacheStore.start() |
void |
CacheLoader.stop() |
void |
AbstractCacheStore.stop() |
void |
LockSupportCacheStore.store(InternalCacheEntry ed) |
void |
CacheStore.store(InternalCacheEntry entry)
Stores an entry
|
protected abstract void |
LockSupportCacheStore.storeLockSafe(InternalCacheEntry ed,
L lockingKey) |
void |
LockSupportCacheStore.toStream(ObjectOutput objectOutput) |
void |
CacheStore.toStream(ObjectOutput outputStream)
Loads the entire state into a stream, using whichever format is most efficient for the cache loader
implementation.
|
protected abstract void |
LockSupportCacheStore.toStreamLockSafe(ObjectOutput oos) |
Modifier and Type | Method and Description |
---|---|
boolean |
BucketBasedCacheStore.BucketHandler.handle(Bucket bucket)
Handles a bucket that is passed in.
|
boolean |
BucketBasedCacheStore.CollectionGeneratingBucketHandler.handle(Bucket bucket) |
protected void |
BucketBasedCacheStore.insertBucket(Bucket bucket)
Inserts a new Bucket in the storage system.
|
protected Set<Object> |
BucketBasedCacheStore.loadAllKeysLockSafe(Set<Object> keysToExclude) |
protected Set<InternalCacheEntry> |
BucketBasedCacheStore.loadAllLockSafe() |
protected abstract Bucket |
BucketBasedCacheStore.loadBucket(Integer hash)
Loads a Bucket from the store, based on the hash code of the bucket.
|
protected Set<InternalCacheEntry> |
BucketBasedCacheStore.loadLockSafe(int max) |
protected InternalCacheEntry |
BucketBasedCacheStore.loadLockSafe(Object key,
Integer lockingKey)
Loads an entry from a Bucket, locating the relevant Bucket using the key's hash code.
|
protected abstract void |
BucketBasedCacheStore.loopOverBuckets(BucketBasedCacheStore.BucketHandler handler)
A mechanism to loop over all buckets in the cache store.
|
protected boolean |
BucketBasedCacheStore.removeLockSafe(Object key,
Integer lockingKey)
Removes an entry from a Bucket, locating the relevant Bucket using the key's hash code.
|
protected void |
BucketBasedCacheStore.storeLockSafe(InternalCacheEntry entry,
Integer lockingKey)
Stores an entry in an appropriate Bucket, based on the key's hash code.
|
protected abstract void |
BucketBasedCacheStore.updateBucket(Bucket bucket)
Updates a bucket in the store with the Bucket passed in to the method.
|
Modifier and Type | Method and Description |
---|---|
Set<InternalCacheEntry> |
ClusterCacheLoader.load(int maxElems) |
InternalCacheEntry |
ClusterCacheLoader.load(Object key) |
Set<InternalCacheEntry> |
ClusterCacheLoader.loadAll() |
Set<Object> |
ClusterCacheLoader.loadAllKeys(Set<Object> keysToExclude) |
void |
ClusterCacheLoader.start() |
void |
ClusterCacheLoader.stop() |
Modifier and Type | Method and Description |
---|---|
protected void |
AsyncStore.applyModificationsSync(ConcurrentMap<Object,Modification> mods) |
void |
SingletonStore.clear() |
void |
ChainingCacheStore.clear() |
void |
AbstractDelegatingStore.clear() |
void |
SingletonStore.commit(GlobalTransaction tx) |
void |
ChainingCacheStore.commit(GlobalTransaction tx) |
void |
AsyncStore.commit(GlobalTransaction tx) |
void |
AbstractDelegatingStore.commit(GlobalTransaction tx) |
boolean |
ChainingCacheStore.containsKey(Object key) |
boolean |
AbstractDelegatingStore.containsKey(Object key) |
void |
SingletonStore.fromStream(ObjectInput inputStream) |
void |
ChainingCacheStore.fromStream(ObjectInput inputStream) |
void |
AbstractDelegatingStore.fromStream(ObjectInput inputStream) |
void |
ChainingCacheStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
void |
AsyncStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
void |
AbstractDelegatingStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
Set<InternalCacheEntry> |
ChainingCacheStore.load(int numEntries) |
Set<InternalCacheEntry> |
AbstractDelegatingStore.load(int numEntries) |
InternalCacheEntry |
ChainingCacheStore.load(Object key) |
InternalCacheEntry |
AbstractDelegatingStore.load(Object key) |
Set<InternalCacheEntry> |
ChainingCacheStore.loadAll() |
Set<InternalCacheEntry> |
AbstractDelegatingStore.loadAll() |
Set<Object> |
ChainingCacheStore.loadAllKeys(Set<Object> keysToExclude) |
Set<Object> |
AbstractDelegatingStore.loadAllKeys(Set<Object> keysToExclude) |
void |
SingletonStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
ChainingCacheStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
AsyncStore.prepare(List<? extends Modification> mods,
GlobalTransaction tx,
boolean isOnePhase) |
void |
AbstractDelegatingStore.prepare(List<? extends Modification> list,
GlobalTransaction tx,
boolean isOnePhase) |
void |
SingletonStore.purgeExpired() |
void |
ChainingCacheStore.purgeExpired() |
void |
AbstractDelegatingStore.purgeExpired() |
void |
ChainingCacheStore.purgeIfNecessary() |
boolean |
SingletonStore.remove(Object key) |
boolean |
ChainingCacheStore.remove(Object key) |
boolean |
AbstractDelegatingStore.remove(Object key) |
void |
ChainingCacheStore.removeAll(Set<Object> keys) |
void |
AbstractDelegatingStore.removeAll(Set<Object> keys) |
void |
SingletonStore.start() |
void |
ChainingCacheStore.start() |
void |
AsyncStore.start() |
void |
AbstractDelegatingStore.start() |
void |
SingletonStore.stop() |
void |
ChainingCacheStore.stop() |
void |
AsyncStore.stop() |
void |
AbstractDelegatingStore.stop() |
void |
SingletonStore.store(InternalCacheEntry ed) |
void |
ChainingCacheStore.store(InternalCacheEntry ed) |
void |
AbstractDelegatingStore.store(InternalCacheEntry ed) |
void |
ChainingCacheStore.toStream(ObjectOutput outputStream) |
void |
AbstractDelegatingStore.toStream(ObjectOutput outputStream) |
Modifier and Type | Method and Description |
---|---|
protected void |
FileCacheStore.clearLockSafe() |
protected void |
FileCacheStore.fromStreamLockSafe(ObjectInput objectInput) |
void |
FileCacheStore.init(CacheLoaderConfig config,
Cache<?,?> cache,
StreamingMarshaller m) |
protected Bucket |
FileCacheStore.loadBucket(File bucketFile) |
protected Bucket |
FileCacheStore.loadBucket(Integer hash) |
Bucket |
FileCacheStore.loadBucketContainingKey(String key) |
protected void |
FileCacheStore.loopOverBuckets(BucketBasedCacheStore.BucketHandler handler) |
protected void |
FileCacheStore.purgeInternal() |
void |
FileCacheStore.start() |
void |
FileCacheStore.stop() |
protected void |
FileCacheStore.toStreamLockSafe(ObjectOutput objectOutput) |
void |
FileCacheStore.updateBucket(Bucket b) |
Modifier and Type | Class and Description |
---|---|
class |
UnsupportedKeyTypeException
Exception thrown by certain cache stores when one tries to persist an entry with an unsupported key type.
|
Modifier and Type | Method and Description |
---|---|
void |
Log.errorClearinAsyncStore(CacheLoaderException e) |
void |
Log.errorPurgingAsyncStore(CacheLoaderException e) |
void |
Log.problemsPurgingFile(File buckedFile,
CacheLoaderException e) |
void |
Log.unableToLoadFromCacheLoader(Object key,
CacheLoaderException cle) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.