Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X 

A

abortOnException(Throwable) - Method in interface org.cache2k.core.storageApi.CacheStorage.MultiThreadedContext
If an exception cannot be handled, this method aborts the operation and propagates the exception to the operation client.
AbstractConfigurationTokenizer - Class in org.cache2k.impl.xmlConfiguration
 
AbstractConfigurationTokenizer(String) - Constructor for class org.cache2k.impl.xmlConfiguration.AbstractConfigurationTokenizer
 
AbstractEviction - Class in org.cache2k.core
Basic eviction functionality.
AbstractEviction(HeapCache, HeapCacheListener, long) - Constructor for class org.cache2k.core.AbstractEviction
 
action() - Method in class org.cache2k.core.HeapCache.RunWithCatch
 
addProperty(ConfigurationTokenizer.Property) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
addSection(ParsedConfiguration) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
asMap() - Method in class org.cache2k.core.BaseCache
 
AsyncCacheLoader<K,V> - Interface in org.cache2k.core.experimentalApi
 
AsyncCacheLoader.Callback<V> - Interface in org.cache2k.core.experimentalApi
Callback for async cache load.
AsyncCacheWriter<K,V> - Interface in org.cache2k.core.experimentalApi
 
AsyncCacheWriter.Callback - Interface in org.cache2k.core.experimentalApi
 
AsyncDispatcher<K> - Class in org.cache2k.core.event
Dispatch events via the executor.
AsyncDispatcher(InternalCache, Executor) - Constructor for class org.cache2k.core.event.AsyncDispatcher
 
AsyncEvent<K> - Class in org.cache2k.core.event
 
AsyncEvent() - Constructor for class org.cache2k.core.event.AsyncEvent
 
augmentConfiguration(CacheManager, Cache2kConfiguration<K, V>) - Static method in class org.cache2k.core.Cache2kCoreProviderImpl
 
augmentConfiguration(CacheManager, Cache2kConfiguration<K, V>) - Method in interface org.cache2k.core.spi.CacheConfigurationProvider
Called when Cache2kBuilder.build() was called before the configuration is used to create the cache.
augmentConfiguration(CacheManager, Cache2kConfiguration<K, V>) - Method in class org.cache2k.impl.xmlConfiguration.CacheConfigurationProviderImpl
 
awaitTermination() - Method in interface org.cache2k.core.storageApi.CacheStorage.MultiThreadedContext
If threads are started by using CacheStorage.MultiThreadedContext.getExecutorService() waits for termination or tries to stop threads immediately if CacheStorage.MultiThreadedContext.shouldStop() is true.

B

Base() - Constructor for class org.cache2k.core.operation.Semantic.Base
 
BaseCache<K,V> - Class in org.cache2k.core
Some default implementations for a cache.
BaseCache() - Constructor for class org.cache2k.core.BaseCache
 
BeanPropertyMutator - Class in org.cache2k.impl.xmlConfiguration
Scans all setters on target type and provides mutation method.
BeanPropertyMutator(Class<?>) - Constructor for class org.cache2k.impl.xmlConfiguration.BeanPropertyMutator
 
BlackHole() - Constructor for class org.cache2k.core.CommonMetrics.BlackHole
 
build() - Method in class org.cache2k.core.InternalCache2kBuilder
 
buildAsIs() - Method in class org.cache2k.core.InternalCache2kBuilder
Build without applying external configuration.
buildThrowable(String, Throwable) - Static method in class org.cache2k.core.storageApi.StorageAdapter
 

C

Cache2kCoreProviderImpl - Class in org.cache2k.core
 
Cache2kCoreProviderImpl() - Constructor for class org.cache2k.core.Cache2kCoreProviderImpl
 
Cache2kVersion - Class in org.cache2k.core.util
Static helper class to provide the cache2k version.
Cache2kVersion() - Constructor for class org.cache2k.core.util.Cache2kVersion
 
CACHE_CONFIGURATION_PROVIDER - Static variable in class org.cache2k.core.Cache2kCoreProviderImpl
 
CacheClosedException - Exception in org.cache2k.core
Consistently this exception is thrown, when an operation detects that the cache is closed.
CacheClosedException() - Constructor for exception org.cache2k.core.CacheClosedException
 
CacheConfigurationProvider - Interface in org.cache2k.core.spi
Plugin interface for the configuration system.
CacheConfigurationProviderImpl - Class in org.cache2k.impl.xmlConfiguration
Hooks into cache2k and provides the additional configuration data.
CacheConfigurationProviderImpl() - Constructor for class org.cache2k.impl.xmlConfiguration.CacheConfigurationProviderImpl
 
cacheCreated(Cache) - Method in interface org.cache2k.core.spi.CacheLifeCycleListener
 
cacheCreated(Cache) - Method in class org.cache2k.impl.serverSide.JmxSupport
 
cacheDestroyed(Cache) - Method in class org.cache2k.core.CacheManagerImpl
Called from the cache during close()
cacheDestroyed(Cache) - Method in interface org.cache2k.core.spi.CacheLifeCycleListener
 
cacheDestroyed(Cache) - Method in class org.cache2k.impl.serverSide.JmxSupport
 
cacheExceptionUntil(Entry<K, V>, ExceptionInformation) - Method in class org.cache2k.core.TimingHandler
Delegated to the resilience policy
CacheInternalError - Error in org.cache2k.core
An internal error condition in the cache was detected that actually never is supposed to happen.
CacheInternalError(String) - Constructor for error org.cache2k.core.CacheInternalError
 
CacheInternalError(String, Throwable) - Constructor for error org.cache2k.core.CacheInternalError
 
CacheLifeCycleListener - Interface in org.cache2k.core.spi
Interface to implement additional service providers that get notified on a lifecycle change of the cache.
CacheManagerImpl - Class in org.cache2k.core
 
CacheManagerImpl(Cache2kCoreProviderImpl, ClassLoader, String, boolean) - Constructor for class org.cache2k.core.CacheManagerImpl
 
CacheManagerLifeCycleListener - Interface in org.cache2k.core.spi
Service provider interface to hook in manager extensions.
CacheMXBeanImpl - Class in org.cache2k.impl.serverSide
 
CacheMXBeanImpl(InternalCache) - Constructor for class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
CacheStorage - Interface in org.cache2k.core.storageApi
An interface for persistent or off heap storage for a cache.
CacheStorage.EntryFilter - Interface in org.cache2k.core.storageApi
 
CacheStorage.EntryVisitor - Interface in org.cache2k.core.storageApi
 
CacheStorage.MultiThreadedContext - Interface in org.cache2k.core.storageApi
 
CacheStorage.VisitContext - Interface in org.cache2k.core.storageApi
 
CacheStorageException - Exception in org.cache2k.core
 
CacheStorageException() - Constructor for exception org.cache2k.core.CacheStorageException
 
CacheStorageException(String) - Constructor for exception org.cache2k.core.CacheStorageException
 
CacheStorageException(String, Throwable) - Constructor for exception org.cache2k.core.CacheStorageException
 
CacheStorageException(Throwable) - Constructor for exception org.cache2k.core.CacheStorageException
 
calcEntryCount() - Method in class org.cache2k.core.Hash2
Count the entries in the hash table, by scanning through the hash table.
calcHashCollisionInfo(CollisionInfo) - Method in class org.cache2k.core.Hash2
 
calculateNextRefreshTime(Entry<K, V>, V, long) - Method in class org.cache2k.core.TimingHandler
Calculates the expiry time for a value that was just loaded or inserted into the cache.
call() - Method in interface org.cache2k.core.concurrency.Job
 
callListeners() - Method in class org.cache2k.core.EntryAction
 
cancel() - Method in class org.cache2k.core.util.SimpleTask
Cancels this timer task.
cancel() - Method in class org.cache2k.core.util.SimpleTimer
Terminates this timer, discarding any currently scheduled tasks.
cancelExpiryTimer(Entry<K, V>) - Method in class org.cache2k.core.TimingHandler
Cancel the timer on the entry, if a timer was set.
cancelTimerJobs() - Method in class org.cache2k.core.HeapCache
Preparation for shutdown.
cancelTimerJobs() - Method in interface org.cache2k.core.InternalCache
used from the cache manager for shutdown
cancelTimerJobs() - Method in class org.cache2k.core.storageApi.StorageAdapter
Cancel all schedules timer jobs in the storage.
cancelTimerJobs() - Method in class org.cache2k.core.WiredCache
 
canCheckHolder() - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
canCheckHolder() - Method in interface org.cache2k.core.concurrency.OptimisticLock
True if this lock supports OptimisticLock.isHoldingWriteLock()
canCheckHolder() - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
CanCheckIntegrity - Interface in org.cache2k.core
Cache supports checking its internal integrity.
check(String, String, boolean) - Method in class org.cache2k.core.IntegrityState
 
check(String, boolean) - Method in class org.cache2k.core.IntegrityState
 
checkAllPresent(Iterable<? extends K>) - Method in class org.cache2k.core.HeapCache
 
checkAndPurge(Object) - Method in interface org.cache2k.core.storageApi.PurgeableStorage.PurgeAction
Check storage whether entry for the key is still expired.
checkClosed() - Method in class org.cache2k.core.HeapCache
 
checkCyclicListIntegrity(Entry) - Static method in class org.cache2k.core.Entry
 
checkEquals(String, int, int) - Method in class org.cache2k.core.IntegrityState
 
checkEquals(String, long, long) - Method in class org.cache2k.core.IntegrityState
 
checkExpand(int) - Method in class org.cache2k.core.Hash2
Checks whether expansion is needed and expand when Hash2.insertWithinLock(Entry, int) is used.
checkGreater(String, int, int) - Method in class org.cache2k.core.IntegrityState
 
checkGreaterOrEquals(String, int, int) - Method in class org.cache2k.core.IntegrityState
 
checkIntegrity() - Method in interface org.cache2k.core.CanCheckIntegrity
Cache checks its internal integrity.
checkIntegrity(IntegrityState) - Method in class org.cache2k.core.ClockEviction
 
checkIntegrity(IntegrityState) - Method in class org.cache2k.core.ClockProPlusEviction
 
checkIntegrity(IntegrityState) - Method in interface org.cache2k.core.Eviction
 
checkIntegrity() - Method in class org.cache2k.core.HeapCache
Check internal data structures and throw and exception if something is wrong, used for unit testing
checkIntegrity(IntegrityState) - Method in class org.cache2k.core.RandomEviction
 
checkIntegrity(IntegrityState) - Method in class org.cache2k.core.SegmentedEviction
 
checkIntegrity() - Method in class org.cache2k.core.WiredCache
 
checkKeepOrRemove() - Method in class org.cache2k.core.EntryAction
In case we have a expiry of 0, this means that the entry should not be cached.
checkLess(String, int, int) - Method in class org.cache2k.core.IntegrityState
 
checkLessOrEquals(String, int, int) - Method in class org.cache2k.core.IntegrityState
 
checkName(String) - Static method in class org.cache2k.core.CacheManagerImpl
Don't accept a cache or manager names with too weird characters.
checkStorageStillDisconnectedForClear() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
clear() - Method in class org.cache2k.core.CacheManagerImpl
 
clear() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
clear() - Method in class org.cache2k.core.HeapCache
 
clear() - Method in class org.cache2k.core.MapValueConverterProxy
 
clear() - Method in interface org.cache2k.core.storageApi.CacheStorage
Remove all entries from the cache and free resources.
clear() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
clear() - Method in class org.cache2k.core.WiredCache
 
clear() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
clear() - Method in class org.cache2k.impl.serverSide.ManagerMXBeanImpl
 
clearAndClose() - Method in class org.cache2k.core.BaseCache
 
clearAndReconnect() - Method in class org.cache2k.core.storageApi.StorageAdapter
Starts the parallel clearing process, returns immediately
clearCnt - Variable in class org.cache2k.core.HeapCache
Number of clear operations.
clearedTime - Variable in class org.cache2k.core.HeapCache
 
clearLocalCache() - Method in class org.cache2k.core.HeapCache
 
clearRemovedCnt - Variable in class org.cache2k.core.HeapCache
Number of entries removed by clear.
clearWhenLocked() - Method in class org.cache2k.core.Hash2
 
clock - Variable in class org.cache2k.core.HeapCache
 
ClockDefaultImpl - Class in org.cache2k.core.util
 
ClockEviction - Class in org.cache2k.core
 
ClockEviction(HeapCache, HeapCacheListener, long) - Constructor for class org.cache2k.core.ClockEviction
 
ClockProPlusEviction - Class in org.cache2k.core
CLOCK Pro implementation with 3 clocks.
ClockProPlusEviction(HeapCache, HeapCacheListener, long) - Constructor for class org.cache2k.core.ClockProPlusEviction
 
ClockProPlusEviction.Tunable - Class in org.cache2k.core
 
clone() - Method in class org.cache2k.core.util.TunableConstants
 
close() - Method in class org.cache2k.core.AbstractEviction
 
close(ClassLoader) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
close() - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
close(ClassLoader, String) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
close() - Method in class org.cache2k.core.CacheManagerImpl
The shutdown takes place in two phases.
close() - Method in interface org.cache2k.core.Eviction
Free resources, for example thread pool or queue.
close() - Method in class org.cache2k.core.ExclusiveExecutor
 
close() - Method in class org.cache2k.core.Hash2
Close the cache by discarding the entry table.
close() - Method in class org.cache2k.core.HeapCache
 
close() - Method in class org.cache2k.core.SegmentedEviction
 
close() - Method in interface org.cache2k.core.storageApi.CacheStorage
Free all resources and stop operations immediately.
close() - Method in class org.cache2k.core.TimingHandler
 
close() - Method in class org.cache2k.core.util.ForwardingClock
 
close() - Method in class org.cache2k.core.WiredCache
 
closeCustomization(Object) - Method in class org.cache2k.core.BaseCache
 
closeCustomization(Object) - Method in interface org.cache2k.core.InternalCache
Call close on the customization if the Closeable interface is implemented
closePart1() - Method in class org.cache2k.core.HeapCache
 
closePart2(InternalCache) - Method in class org.cache2k.core.HeapCache
 
collisionCnt - Variable in class org.cache2k.core.CollisionInfo
 
CollisionInfo - Class in org.cache2k.core
Aggregate bean for collision information of a hash table.
CollisionInfo() - Constructor for class org.cache2k.core.CollisionInfo
 
collisionSlotCnt - Variable in class org.cache2k.core.CollisionInfo
 
CommonMetrics - Interface in org.cache2k.core
Statistic metrics common to every cache type.
CommonMetrics.BlackHole - Class in org.cache2k.core
 
CommonMetrics.Updater - Interface in org.cache2k.core
 
CommonMetricsFactory - Interface in org.cache2k.core
 
commonMetricsFactory - Variable in class org.cache2k.core.HeapCache.Tunable
 
CommonMetricsFactory.Parameters - Interface in org.cache2k.core
 
compactFullName(CacheManager, String) - Static method in class org.cache2k.core.util.Util
 
computeIfAbsent(K, Callable<V>) - Method in class org.cache2k.core.HeapCache
Code duplicates with Cache.get(Object)
computeIfAbsent(K, Callable<V>) - Method in class org.cache2k.core.operation.Operations
 
computeIfAbsent(K, Callable<V>) - Method in class org.cache2k.core.WiredCache
 
ConcurrentEntryIterator<K,V> - Class in org.cache2k.core
Iterator over all cache entries.
ConcurrentEntryIterator(HeapCache<K, V>) - Constructor for class org.cache2k.core.ConcurrentEntryIterator
 
ConcurrentMapWrapper<K,V> - Class in org.cache2k.core
ConcurrentMap interface wrapper on top of a cache.
ConcurrentMapWrapper(InternalCache<K, V>) - Constructor for class org.cache2k.core.ConcurrentMapWrapper
 
ConfigurationContext - Class in org.cache2k.impl.xmlConfiguration
Manager configuration context containing the default configuration and global properties.
ConfigurationContext() - Constructor for class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
ConfigurationException - Exception in org.cache2k.impl.xmlConfiguration
Exception indicating something is wrong with the external (XML) configuration.
ConfigurationException(String) - Constructor for exception org.cache2k.impl.xmlConfiguration.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.cache2k.impl.xmlConfiguration.ConfigurationException
 
ConfigurationException(String, String) - Constructor for exception org.cache2k.impl.xmlConfiguration.ConfigurationException
 
ConfigurationException(String, SourceLocation) - Constructor for exception org.cache2k.impl.xmlConfiguration.ConfigurationException
 
ConfigurationParser - Class in org.cache2k.impl.xmlConfiguration
 
ConfigurationParser() - Constructor for class org.cache2k.impl.xmlConfiguration.ConfigurationParser
 
ConfigurationTokenizer - Interface in org.cache2k.impl.xmlConfiguration
The configuration tokenizer reads in a text representation of a configuration in a tokenized form.
ConfigurationTokenizer.End - Interface in org.cache2k.impl.xmlConfiguration
 
ConfigurationTokenizer.Item - Interface in org.cache2k.impl.xmlConfiguration
 
ConfigurationTokenizer.Nest - Interface in org.cache2k.impl.xmlConfiguration
 
ConfigurationTokenizer.Property - Interface in org.cache2k.impl.xmlConfiguration
 
ConfigurationTokenizer.Unnest - Interface in org.cache2k.impl.xmlConfiguration
 
contains(K) - Method in class org.cache2k.core.operation.Operations
 
contains(Object) - Method in interface org.cache2k.core.storageApi.CacheStorage
Returns true if there is a mapping for the key.
containsAndRemove(K) - Method in class org.cache2k.core.HeapCache
 
containsAndRemove(K) - Method in class org.cache2k.core.operation.Operations
 
containsAndRemove(K) - Method in class org.cache2k.core.WiredCache
 
containsKey(Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
containsKey(K) - Method in class org.cache2k.core.HeapCache
 
containsKey(Object) - Method in class org.cache2k.core.MapValueConverterProxy
 
containsKey(K) - Method in class org.cache2k.core.WiredCache
 
containsValue(Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
containsValue(Object) - Method in class org.cache2k.core.MapValueConverterProxy
 
convert(S) - Method in class org.cache2k.core.MapValueConverterProxy
Only called when the value object is requested.
convertCacheEntry2ValueMap(Map<K, CacheEntry<K, V>>) - Method in class org.cache2k.core.HeapCache
 
convertValueMap(Map<K, ExaminationEntry<K, V>>) - Method in class org.cache2k.core.HeapCache
 
correctedMaxSize - Variable in class org.cache2k.core.AbstractEviction
 
create(CommonMetricsFactory.Parameters) - Method in interface org.cache2k.core.CommonMetricsFactory
 
create(CommonMetricsFactory.Parameters) - Method in class org.cache2k.core.StandardCommonMetricsFactory
 
createCache(CacheManager, Cache2kConfiguration<K, V>) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
createCache(Cache2kConfiguration<K, V>) - Method in class org.cache2k.core.CacheManagerImpl
 
createCustomization(CustomizationSupplier<T>) - Method in class org.cache2k.core.BaseCache
 
createCustomization(CustomizationSupplier<T>) - Method in interface org.cache2k.core.InternalCache
Calls factory and wraps exceptions.
createEntryAction(K, Entry<K, V>, Semantic<K, V, R>) - Method in class org.cache2k.core.BaseCache
 
createEntryAction(K, Entry<K, V>, Semantic<K, V, R>) - Method in class org.cache2k.core.HeapCache
 
createEntryAction(K, Entry<K, V>, Semantic<K, V, R>) - Method in class org.cache2k.core.WiredCache
 
createJob(InternalClock.TimeReachedEvent) - Method in class org.cache2k.core.util.ClockDefaultImpl
 
createJob(InternalClock.TimeReachedEvent) - Method in class org.cache2k.core.util.ForwardingClock
 
createJob(InternalClock.TimeReachedEvent) - Method in interface org.cache2k.core.util.InternalClock
Creates a job object for the specified event callback.
createJob(Runnable) - Method in interface org.cache2k.core.util.ScheduledClock
 
createTokenizer(String, InputStream, String) - Method in class org.cache2k.impl.xmlConfiguration.FlexibleXmlTokenizerFactory
 
createTokenizer(String, InputStream, String) - Method in class org.cache2k.impl.xmlConfiguration.StaxConfigTokenizer.Factory
 
createTokenizer(String, InputStream, String) - Method in interface org.cache2k.impl.xmlConfiguration.TokenizerFactory
 
createTokenizer(String, InputStream, String) - Method in class org.cache2k.impl.xmlConfiguration.XppConfigTokenizer.Factory
 
CUSTOM_TUNING_FILE_NAME - Static variable in class org.cache2k.core.util.TunableFactory
 

D

debug(String) - Method in class org.cache2k.core.util.Log
 
debug(String, Throwable) - Method in class org.cache2k.core.util.Log
 
debug(String) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
debug(String, Throwable) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
DEFAULT_EXCEPTION_PROPAGATOR - Static variable in class org.cache2k.core.HeapCache
 
DEFAULT_TUNING_FILE_NAME - Static variable in class org.cache2k.core.util.TunableFactory
 
defaultImplementation - Variable in class org.cache2k.core.HeapCache.Tunable
 
DefaultResiliencePolicy<K,V> - Class in org.cache2k.core
Default resilience policy which implements a exponential back off and randomization of the retry intervals.
DefaultResiliencePolicy() - Constructor for class org.cache2k.core.DefaultResiliencePolicy
Construct a resilience policy with multiplier 1.5 and randomization 0.5.
DefaultResiliencePolicy(double, double) - Constructor for class org.cache2k.core.DefaultResiliencePolicy
Construct a resilience policy with custom multiplier and randomization.
DefaultThreadFactoryProvider - Class in org.cache2k.core.concurrency
Provide the default implementation for the thread factory.
DefaultThreadFactoryProvider() - Constructor for class org.cache2k.core.concurrency.DefaultThreadFactoryProvider
 
deregisterSuppression(String) - Static method in class org.cache2k.core.util.Log
 
disable(Throwable) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
disableHashRandomization - Variable in class org.cache2k.core.HeapCache.Tunable
The hash code will randomized by default.
disableJob(InternalClock.TimeReachedJob) - Method in class org.cache2k.core.util.ClockDefaultImpl
 
disableJob(InternalClock.TimeReachedJob) - Method in class org.cache2k.core.util.ForwardingClock
 
disableJob(InternalClock.TimeReachedJob) - Method in interface org.cache2k.core.util.InternalClock
Disable the job clearing used resources.
disconnectStorageForClear() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
drain() - Method in class org.cache2k.core.AbstractEviction
 
drain() - Method in interface org.cache2k.core.Eviction
Drain eviction queue and do updates in the eviction data structures.
drain() - Method in class org.cache2k.core.SegmentedEviction
 
DUMMY - Static variable in interface org.cache2k.core.StorageMetrics
 
Dummy() - Constructor for class org.cache2k.core.StorageMetrics.Dummy
 

E

ensureAbort(boolean) - Method in class org.cache2k.core.Entry
Make sure entry processing is properly finished, otherwise threads waiting for an entry get stuck.
entries() - Method in class org.cache2k.core.BaseCache
 
Entry<K,T> - Class in org.cache2k.core
The cache entry.
Entry(K, int) - Constructor for class org.cache2k.core.Entry
 
Entry() - Constructor for class org.cache2k.core.Entry
 
EntryAction<K,V,R> - Class in org.cache2k.core
This is a method object to perform an operation on an entry.
EntryAction(HeapCache<K, V>, InternalCache<K, V>, Semantic<K, V, R>, K, Entry<K, V>) - Constructor for class org.cache2k.core.EntryAction
 
EntryAction.ListenerException - Exception in org.cache2k.core
 
EntryAction.ProcessingFailureException - Exception in org.cache2k.core
 
EntryAction.StorageReadException - Exception in org.cache2k.core
 
EntryAction.StorageWriteException - Exception in org.cache2k.core
 
entryCreatedListeners() - Method in class org.cache2k.core.EntryAction
Provide the registered listeners for entry creation.
entryExpiredListeners() - Method in class org.cache2k.core.EntryAction
 
entryRemovedListeners() - Method in class org.cache2k.core.EntryAction
Provide the registered listeners for entry removal.
entryResult(ExaminationEntry) - Method in class org.cache2k.core.EntryAction
 
entryResult(ExaminationEntry) - Method in interface org.cache2k.core.operation.Progress
Returns a cache entry as result.
entrySet() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
entrySet() - Method in class org.cache2k.core.MapValueConverterProxy
 
entryUpdatedListeners() - Method in class org.cache2k.core.EntryAction
Provide the registered listeners for entry update.
equals(Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
This is the object identity of the cache
EventCounter - Interface in org.cache2k.core
 
evict(Entry) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
evictEventually() - Method in class org.cache2k.core.AbstractEviction
 
evictEventually(int) - Method in class org.cache2k.core.AbstractEviction
 
evictEventually(int) - Method in interface org.cache2k.core.Eviction
Evict if needed, focused on the segment addressed by the hash code.
evictEventually() - Method in interface org.cache2k.core.Eviction
Evict if needed, checks all segments.
evictEventually(int) - Method in class org.cache2k.core.SegmentedEviction
 
evictEventually() - Method in class org.cache2k.core.SegmentedEviction
 
Eviction - Interface in org.cache2k.core
Interface to the eviction data structure (replacement list).
EvictionMetrics - Interface in org.cache2k.core
Access to eviction metrics.
examinationAbort(CustomizationException) - Method in class org.cache2k.core.EntryAction
 
ExaminationEntry<K,V> - Interface in org.cache2k.core.operation
A entry on the heap cache, used for reading.
examine() - Method in class org.cache2k.core.EntryAction
 
examine(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in interface org.cache2k.core.operation.Semantic
Called with the entry containing the recent content.
examine(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.Update
Instruct to lock the entry for the update.
examine(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.UpdateExisting
Unconditionally request mutation lock.
exceptionPropagator - Variable in class org.cache2k.core.HeapCache
 
exceptionPropagator - Variable in class org.cache2k.core.HeapCache.Tunable
 
ExceptionWrapper<K> - Class in org.cache2k.core
We use instances of the exception wrapper for the value field in the entry.
ExceptionWrapper(Throwable) - Constructor for class org.cache2k.core.ExceptionWrapper
Constructs a wrapper with time set to 0.
ExceptionWrapper(long, Throwable) - Constructor for class org.cache2k.core.ExceptionWrapper
 
ExceptionWrapper(K, Throwable, long, Entry) - Constructor for class org.cache2k.core.ExceptionWrapper
Take over exception information from the entry, which either has no exception, an existing cached exception or a suppressed exception.
ExceptionWrapper(K, Throwable, long, ExceptionInformation) - Constructor for class org.cache2k.core.ExceptionWrapper
 
ExclusiveExecutor - Class in org.cache2k.core
Wraps a thread pool executor that is used by one cache exclusively.
ExclusiveExecutor(int, String) - Constructor for class org.cache2k.core.ExclusiveExecutor
 
execute(K, Entry<K, V>, Semantic<K, V, R>) - Method in class org.cache2k.core.BaseCache
 
execute(Semantic<K, V, R>, EntryAction<K, V, R>) - Method in class org.cache2k.core.BaseCache
 
execute(K, Semantic<K, V, R>) - Method in class org.cache2k.core.BaseCache
 
execute() - Method in class org.cache2k.core.event.AsyncEvent
 
execute(Runnable) - Method in class org.cache2k.core.ExclusiveExecutor
 
execute() - Method in class org.cache2k.core.util.SimpleTask
 
executeWithGlobalLock(Job<T>) - Method in class org.cache2k.core.HeapCache
Execute job while making sure that no other operations are going on.
expand(ParsedConfiguration) - Method in class org.cache2k.impl.xmlConfiguration.StandardVariableExpander
 
expand(ParsedConfiguration) - Method in interface org.cache2k.impl.xmlConfiguration.VariableExpander
 
expire(long) - Method in class org.cache2k.core.EntryAction
 
expire(K, long) - Method in class org.cache2k.core.operation.Operations
 
expire(long) - Method in interface org.cache2k.core.operation.Progress
Reset expiry to the specified value.
expire(Entry) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
expireAt(K, long) - Method in class org.cache2k.core.HeapCache
 
expireAt(K, long) - Method in class org.cache2k.core.WiredCache
 
expiredImmediatelyAndRemove() - Method in class org.cache2k.core.EntryAction
 
expiredImmediatelyKeepData() - Method in class org.cache2k.core.EntryAction
 
expiredKept() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
expiredKept(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
expiredKept() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
expiredKept(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
expiredKept() - Method in class org.cache2k.core.StandardCommonMetrics
 
expiredKept(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
expireEntry(Entry) - Method in class org.cache2k.core.HeapCache
 
expireOrScheduleFinalExpireEvent(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
expireOrScheduleFinalExpireEvent(Entry<K, V>) - Method in interface org.cache2k.core.InternalCache
 
expireOrScheduleFinalExpireEvent(Entry<K, V>) - Method in class org.cache2k.core.WiredCache
 
EXPIRY_TIME_MIN - Static variable in class org.cache2k.core.Entry
A value greater as means it is a time value.
expiryCalculated() - Method in class org.cache2k.core.EntryAction
 
expiryCalculationException(Throwable) - Method in class org.cache2k.core.EntryAction
 
ExpiryPolicyException - Exception in org.cache2k.core
 
ExpiryPolicyException(Throwable) - Constructor for exception org.cache2k.core.ExpiryPolicyException
 

F

Factory() - Constructor for class org.cache2k.impl.xmlConfiguration.StaxConfigTokenizer.Factory
 
Factory() - Constructor for class org.cache2k.impl.xmlConfiguration.XppConfigTokenizer.Factory
 
failure(RuntimeException) - Method in class org.cache2k.core.EntryAction
Failure call on Progress from Semantic.
FAILURE - Static variable in interface org.cache2k.core.HealthInfoElement
 
failure(RuntimeException) - Method in interface org.cache2k.core.operation.Progress
Bad things happened, propagate the exception to the client.
findEvictionCandidate(Entry) - Method in class org.cache2k.core.AbstractEviction
 
findEvictionCandidate(Entry) - Method in class org.cache2k.core.ClockEviction
Run to evict an entry.
findEvictionCandidate(Entry) - Method in class org.cache2k.core.ClockProPlusEviction
Runs cold hand an in turn hot hand to find eviction candidate.
findEvictionCandidate(Entry) - Method in class org.cache2k.core.RandomEviction
 
finish() - Method in class org.cache2k.core.EntryAction
 
finishLoadOrEviction(Entry, long) - Method in class org.cache2k.core.HeapCache
 
FlexibleXmlTokenizerFactory - Class in org.cache2k.impl.xmlConfiguration
Use XmlPullParser for XML parsing if present (on Android) or fall back to Stax for standard Java environments.
FlexibleXmlTokenizerFactory() - Constructor for class org.cache2k.impl.xmlConfiguration.FlexibleXmlTokenizerFactory
 
flush() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
formatMillis(long) - Static method in class org.cache2k.core.util.Util
Format milliseconds since epoch to a compact timestamp.
ForwardingClock - Class in org.cache2k.core.util
 
ForwardingClock(InternalClock) - Constructor for class org.cache2k.core.util.ForwardingClock
 

G

generateKeySet(Iterable<? extends K>) - Method in class org.cache2k.core.HeapCache
 
generateName(int) - Method in class org.cache2k.core.concurrency.GlobalThreadFactory
 
get(Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
get(K, V, CacheEntry<K, V>, AsyncCacheLoader.Callback<V>, Executor) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheLoader
 
get(K) - Method in class org.cache2k.core.HeapCache
 
get(Object) - Method in class org.cache2k.core.MapValueConverterProxy
 
get(K) - Method in class org.cache2k.core.operation.Operations
 
get(Object) - Method in interface org.cache2k.core.storageApi.CacheStorage
Retrieve the entry from the storage.
get(Object) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
get(Properties, Class<T>) - Static method in class org.cache2k.core.util.TunableFactory
Provide tuning object with initialized information from the properties file.
get(Class<T>) - Static method in class org.cache2k.core.util.TunableFactory
Provide tuning object with initialized information from properties in the class path or system properties.
get(K) - Method in class org.cache2k.core.WiredCache
 
get(VariableExpander.ExpanderContext, String) - Method in interface org.cache2k.impl.xmlConfiguration.VariableExpander.ValueAccessor
 
getActiveCaches() - Method in class org.cache2k.core.CacheManagerImpl
 
getAlert() - Method in class org.cache2k.core.storageApi.StorageAdapter
0 means no alert, 1 orange, 2, red alert
getAlert() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getAll(Iterable<? extends K>) - Method in class org.cache2k.core.HeapCache
JSR107 bulk interface.
getAll(Iterable<? extends K>) - Method in class org.cache2k.core.WiredCache
We need to deal with possible null values and exceptions.
getAsyncLoadsInFlight() - Method in interface org.cache2k.core.InternalCacheInfo
0 if not a exclusive thread pool is used.
getAsyncLoadsStarted() - Method in interface org.cache2k.core.InternalCacheInfo
0 if not a exclusive thread pool is used.
getBuildNumber() - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getBuildNumber() - Method in class org.cache2k.core.CacheManagerImpl
 
getBuildNumber() - Static method in class org.cache2k.core.util.Cache2kVersion
 
getBuildNumber() - Method in class org.cache2k.impl.serverSide.ManagerMXBeanImpl
 
getBytesFreed() - Method in interface org.cache2k.core.storageApi.PurgeableStorage.PurgeResult
Free space reclaimed.
getCache(String) - Method in class org.cache2k.core.CacheManagerImpl
 
getCache() - Method in interface org.cache2k.core.HealthInfoElement
Cache reporting the trouble.
getCacheLifeCycleListeners() - Static method in class org.cache2k.core.CacheManagerImpl
 
getCacheManager() - Method in class org.cache2k.core.HeapCache
 
getCacheManager() - Method in class org.cache2k.core.WiredCache
 
getClassLoader() - Method in class org.cache2k.core.CacheManagerImpl
 
getClassLoader() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getClearCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of calls to clear this cache has received.
getClearCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getClearedEntriesCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of entries removed from the cache by the clear operation.
getClearedEntriesCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getClearedTime() - Method in interface org.cache2k.core.InternalCacheInfo
Time of last clear operation.
getClearedTime() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getClearOrCloseCount() - Method in class org.cache2k.core.Hash2
 
getClock() - Method in class org.cache2k.core.EntryAction
 
getClock() - Method in class org.cache2k.core.HeapCache
 
getClock() - Method in interface org.cache2k.core.InternalCache
Time reference for the cache.
getClock() - Method in interface org.cache2k.core.operation.Progress
 
getClock() - Method in class org.cache2k.core.WiredCache
 
getCommonMetrics() - Method in class org.cache2k.core.HeapCache
 
getCommonMetrics() - Method in interface org.cache2k.core.InternalCache
 
getCommonMetrics() - Method in class org.cache2k.core.WiredCache
 
getCompleteName() - Method in class org.cache2k.core.HeapCache
Returns name of the cache with manager name.
getContainer() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
Element name containing a section or bean.
getCreatedOrUpdated() - Method in class org.cache2k.core.Entry
Used for the storage interface.
getCreatedOrUpdated() - Method in interface org.cache2k.core.storageApi.StorageEntry
Time the entry was last fetched or created from the original source
getCreatedTime() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getCurrentConfiguration() - Method in interface org.cache2k.impl.xmlConfiguration.VariableExpander.ExpanderContext
 
getCyclicListEntryCount(Entry) - Static method in class org.cache2k.core.Entry
 
getDebugCount() - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
getDefaultClassLoader() - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getDefaultConfiguration(CacheManager) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getDefaultConfiguration(CacheManager) - Method in interface org.cache2k.core.spi.CacheConfigurationProvider
A new configuration instance for mutation with default values.
getDefaultConfiguration(CacheManager) - Method in class org.cache2k.impl.xmlConfiguration.CacheConfigurationProviderImpl
 
getDefaultManagerConfiguration() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getDefaultManagerName(ClassLoader) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getDefaultManagerName(ClassLoader) - Method in interface org.cache2k.core.spi.CacheConfigurationProvider
Name for the default manager for the given class loader.
getDefaultManagerName(ClassLoader) - Method in class org.cache2k.impl.xmlConfiguration.CacheConfigurationProviderImpl
The name of the default manager may be changed in the configuration file.
getDefaultManagerName() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getEntries() - Method in class org.cache2k.core.Hash2
Entry table for used by the iterator.
getEntriesPurged() - Method in interface org.cache2k.core.storageApi.PurgeableStorage.PurgeResult
Number of entries purged
getEntriesScanned() - Method in interface org.cache2k.core.storageApi.PurgeableStorage.PurgeResult
Number of entries scanned.
getEntry(K) - Method in class org.cache2k.core.HeapCache
 
getEntry(K) - Method in class org.cache2k.core.operation.Operations
 
getEntry(K) - Method in class org.cache2k.core.WiredCache
 
getEntryCapacity() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getEntryCount() - Method in interface org.cache2k.core.storageApi.CacheStorage
 
getEntryExpiryTime() - Method in class org.cache2k.core.Entry
Deprecated.
Always returns 0, only to fulfill the StorageEntry interface
getEntryExpiryTime() - Method in interface org.cache2k.core.storageApi.StorageEntry
Expiry time of the storage entry.
getEntryInternal(K) - Method in class org.cache2k.core.HeapCache
 
getEntryState(K) - Method in class org.cache2k.core.HeapCache
 
getEntryState(K) - Method in interface org.cache2k.core.InternalCache
 
getEntryState(K) - Method in class org.cache2k.core.WiredCache
 
getEvictedCount() - Method in class org.cache2k.core.AbstractEviction
 
getEvictedCount() - Method in interface org.cache2k.core.EvictionMetrics
Number of entries evicted
getEvictedCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was evicted.
getEvictedCount() - Method in class org.cache2k.core.SegmentedEviction
 
getEvictedCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getEvictionRunningCount() - Method in class org.cache2k.core.AbstractEviction
 
getEvictionRunningCount() - Method in interface org.cache2k.core.EvictionMetrics
Number of eviction currently going on
getEvictionRunningCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of entries currently being evicted.
getEvictionRunningCount() - Method in class org.cache2k.core.SegmentedEviction
 
getEvictionStatistics() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getException() - Method in class org.cache2k.core.ExceptionWrapper
 
getException() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
getExecutorService() - Method in interface org.cache2k.core.storageApi.CacheStorage.MultiThreadedContext
A private executor service for this operation to run in multiple threads.
getExpiredCount() - Method in interface org.cache2k.core.InternalCacheInfo
Counts entries that expired.
getExpiredCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getExpiredKeptCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getExpiredKeptCount() - Method in interface org.cache2k.core.CommonMetrics
Number of entries expired, but kept in the cache because of ongoing processing on the entry (pinned) or because keepData is enabled.
getExpiredKeptCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getExpiredRemovedCount() - Method in class org.cache2k.core.AbstractEviction
 
getExpiredRemovedCount() - Method in interface org.cache2k.core.EvictionMetrics
Removed entries, because expired
getExpiredRemovedCount() - Method in class org.cache2k.core.SegmentedEviction
 
getExtraStatistics() - Method in class org.cache2k.core.AbstractEviction
 
getExtraStatistics() - Method in class org.cache2k.core.ClockEviction
 
getExtraStatistics() - Method in class org.cache2k.core.ClockProPlusEviction
 
getExtraStatistics() - Method in interface org.cache2k.core.EvictionMetrics
Fragment that the eviction wants to add to the Cache.toString() output.
getExtraStatistics() - Method in interface org.cache2k.core.InternalCacheInfo
 
getExtraStatistics() - Method in class org.cache2k.core.RandomEviction
 
getExtraStatistics() - Method in class org.cache2k.core.SegmentedEviction
 
getFailingChecks() - Method in class org.cache2k.core.IntegrityState
 
getGetCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of cache operations, only access
getGetCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getGoneSpinCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getGoneSpinCount() - Method in interface org.cache2k.core.CommonMetrics
Entry was removed while waiting to get the mutation lock.
getGoneSpinCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was removed while waiting to get the mutation lock.
getGoneSpinCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getHashCollisionCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of hashcode collisions within the cache.
getHashCollisionSlotCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of collision slots within the cache.
getHashLongestSlotSize() - Method in interface org.cache2k.core.InternalCacheInfo
Number of hashcode collisions within the cache.
getHashQuality() - Method in interface org.cache2k.core.InternalCacheInfo
Value between 0 and 100 to help evaluate the quality of the hashing function.
getHashQuality() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getHealth() - Method in interface org.cache2k.core.InternalCacheInfo
 
getHealthStatus() - Method in class org.cache2k.impl.serverSide.ManagerMXBeanImpl
 
getHeapCache() - Method in class org.cache2k.core.WiredCache
For testing
getHeapCapacity() - Method in interface org.cache2k.core.InternalCacheInfo
Configured limit of the total cache entry capacity.
getHeapHitButNoReadCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getHeapHitButNoReadCount() - Method in interface org.cache2k.core.CommonMetrics
Operation was accessing a heap entry and counted a hit it is existing, but it should not be counted as read/get operation (e.g.
getHeapHitButNoReadCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getHeapHitCount() - Method in interface org.cache2k.core.InternalCacheInfo
Total counted hits on the heap cache data.
getHitCount() - Method in class org.cache2k.core.ClockEviction
 
getHitCount() - Method in class org.cache2k.core.ClockProPlusEviction
 
getHitCount() - Method in interface org.cache2k.core.EvictionMetrics
Number of recorded hits.
getHitCount() - Method in class org.cache2k.core.RandomEviction
 
getHitCount() - Method in class org.cache2k.core.SegmentedEviction
 
getHitRate() - Method in interface org.cache2k.core.InternalCacheInfo
Hit rate of the cache
getHitRate() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getHitRateString() - Method in interface org.cache2k.core.InternalCacheInfo
Hit rate of the cache in string representation
getId() - Method in interface org.cache2k.core.HealthInfoElement
Compact unique id of the message.
getImplementation() - Method in interface org.cache2k.core.InternalCacheInfo
 
getImplementation() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getInfo() - Method in class org.cache2k.core.HeapCache
 
getInfo(InternalCache) - Method in class org.cache2k.core.HeapCache
 
getInfo() - Method in interface org.cache2k.core.InternalCache
Generate cache statistics.
getInfo() - Method in class org.cache2k.core.WiredCache
 
getInfoCount() - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
getInfoCreatedDeltaMillis() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getInfoCreatedTime() - Method in interface org.cache2k.core.InternalCacheInfo
Time when the info object was created.
getInfoCreatedTime() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getInfoCreationDeltaMs() - Method in interface org.cache2k.core.InternalCacheInfo
Time that was needed to collect the information.
getInsertCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getIntegrityDescriptor() - Method in interface org.cache2k.core.InternalCacheInfo
 
getIntegrityDescriptor() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getIntegrityState() - Method in class org.cache2k.core.HeapCache
 
getInternalExceptionCount() - Method in interface org.cache2k.core.InternalCacheInfo
The cache produced an exception by itself that should have been prevented.
getKey() - Method in class org.cache2k.core.Entry
 
getKey() - Method in class org.cache2k.core.event.AsyncEvent
 
getKey() - Method in class org.cache2k.core.ExceptionWrapper
 
getKey() - Method in interface org.cache2k.core.operation.ExaminationEntry
Associated key
getKey() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
getKey() - Method in interface org.cache2k.core.storageApi.StorageEntry
Key of the stored entry
getKeyMutationCount() - Method in interface org.cache2k.core.InternalCacheInfo
After inserting into the cache the key object changed its hash code.
getKeyMutationCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getKeyType() - Method in class org.cache2k.core.HeapCache
 
getKeyType() - Method in interface org.cache2k.core.InternalCache
 
getKeyType() - Method in class org.cache2k.core.WiredCache
 
getKeyType() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getLastModification() - Method in class org.cache2k.core.Entry
 
getLastModification() - Method in interface org.cache2k.core.operation.ExaminationEntry
 
getLastModification() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
getLatestInfo() - Method in class org.cache2k.core.HeapCache
 
getLatestInfo(InternalCache) - Method in class org.cache2k.core.HeapCache
 
getLatestInfo() - Method in interface org.cache2k.core.InternalCache
Generate fresh statistics.
getLatestInfo() - Method in class org.cache2k.core.WiredCache
 
getLevel() - Method in interface org.cache2k.core.HealthInfoElement
getLineNumber() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer
 
getLineNumber() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Item
 
getLineNumber() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getLineNumber() - Method in interface org.cache2k.impl.xmlConfiguration.SourceLocation
Line number of the configuration source
getLineNumber() - Method in class org.cache2k.impl.xmlConfiguration.StaxConfigTokenizer
 
getLineNumber() - Method in class org.cache2k.impl.xmlConfiguration.XppConfigTokenizer
 
getListEntryCount(Entry) - Static method in class org.cache2k.core.Entry
 
getLoadCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getLoadCount() - Method in interface org.cache2k.core.CommonMetrics
Entry was loaded, triggered by a get()
getLoadCount() - Method in interface org.cache2k.core.EventCounter
 
getLoadCount() - Method in interface org.cache2k.core.InternalCacheInfo
Loader calls including reloads and refresh.
getLoadCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getLoadCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getLoaderThreadsLimit() - Method in interface org.cache2k.core.InternalCacheInfo
0 if not a exclusive thread pool is used.
getLoaderThreadsMaxActive() - Method in interface org.cache2k.core.InternalCacheInfo
0 if not a exclusive thread pool is used.
getLoadExceptionCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getLoadExceptionCount() - Method in interface org.cache2k.core.CommonMetrics
Counter of exceptions thrown from the loader.
getLoadExceptionCount() - Method in interface org.cache2k.core.InternalCacheInfo
Counter of exceptions thrown from the loader.
getLoadExceptionCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getLoadExceptionCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getLoadMillis() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getLoadMillis() - Method in interface org.cache2k.core.CommonMetrics
Accumulated milliseconds spend in load operations.
getLoadMillis() - Method in interface org.cache2k.core.InternalCacheInfo
Accumulated loader execution time.
getLoadMillis() - Method in class org.cache2k.core.StandardCommonMetrics
 
getLoadTime() - Method in class org.cache2k.core.ExceptionWrapper
 
getLocalSize() - Method in class org.cache2k.core.HeapCache
 
getLockObject() - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getLockObject() - Method in class org.cache2k.core.CacheManagerImpl
Used for JSR107 cache manager implementation
getLog() - Method in class org.cache2k.core.HeapCache
Normally a cache itself logs nothing, so just construct when needed.
getLog() - Method in interface org.cache2k.core.InternalCache
used from the cache manager
getLog(Class<?>) - Static method in class org.cache2k.core.util.Log
 
getLog(String) - Static method in class org.cache2k.core.util.Log
 
getLog(String) - Method in interface org.cache2k.core.util.LogFactory
 
getLog() - Method in class org.cache2k.core.WiredCache
 
getManager(ClassLoader, String) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getManager(ClassLoader, String, boolean) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getMaxRetryInterval() - Method in class org.cache2k.core.DefaultResiliencePolicy
 
getMaxSize() - Method in class org.cache2k.core.AbstractEviction
 
getMaxSize() - Method in interface org.cache2k.core.EvictionMetrics
Size limit after eviction kicks in
getMaxSize() - Method in class org.cache2k.core.SegmentedEviction
 
getMessage() - Method in interface org.cache2k.core.HealthInfoElement
Text message describing the problem.
getMetrics() - Method in class org.cache2k.core.AbstractEviction
 
getMetrics() - Method in interface org.cache2k.core.Eviction
 
getMetrics() - Method in class org.cache2k.core.SegmentedEviction
 
getMillisPerLoad() - Method in interface org.cache2k.core.InternalCacheInfo
Average duration in milliseconds for each load operation.
getMillisPerLoad() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getMissCount() - Method in interface org.cache2k.core.InternalCacheInfo
A value was requested, either the entry is not present or the data was expired.
getMissCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getMultiplier() - Method in class org.cache2k.core.DefaultResiliencePolicy
 
getName() - Method in class org.cache2k.core.CacheManagerImpl
 
getName() - Method in class org.cache2k.core.HeapCache
 
getName() - Method in interface org.cache2k.core.InternalCache
 
getName() - Method in interface org.cache2k.core.InternalCacheInfo
Configured name of the cache or null if anonymous.
getName() - Method in class org.cache2k.core.WiredCache
 
getName() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Property
 
getName() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getNewEntryCount() - Method in class org.cache2k.core.AbstractEviction
 
getNewEntryCount() - Method in interface org.cache2k.core.EvictionMetrics
 
getNewEntryCount() - Method in interface org.cache2k.core.InternalCacheInfo
Number of created cache entries.
getNewEntryCount() - Method in class org.cache2k.core.SegmentedEviction
 
getNextRefreshTime() - Method in class org.cache2k.core.Entry
 
getNoCollisionPercent() - Method in interface org.cache2k.core.InternalCacheInfo
Percentage of cache entries in collision lists, not reached by the first comparison.
getPeekHitNotFreshCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getPeekHitNotFreshCount() - Method in interface org.cache2k.core.CommonMetrics
Peek, but entry available was not fresh (expired).
getPeekHitNotFreshCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getPeekMissCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getPeekMissCount() - Method in interface org.cache2k.core.CommonMetrics
Peek operation (or get() if no loader is present), has no hit.
getPeekMissCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getPiggyBack(Class<X>) - Method in class org.cache2k.core.Entry
 
getPredefinedSectionTypes() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getPrefetchExecutor() - Method in class org.cache2k.core.HeapCache
 
getProcessingState() - Method in class org.cache2k.core.Entry
 
getProperties() - Method in class org.cache2k.core.CacheManagerImpl
 
getPropertyByPath(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getPropertyContext() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getPropertyMap() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getProvider() - Method in class org.cache2k.core.CacheManagerImpl
 
getPutCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was inserted in the cache via put or another operation not including a load.
getPutCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getPutHitCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getPutHitCount() - Method in interface org.cache2k.core.CommonMetrics
Counted for a put that updates an existing cache entry.
getPutHitCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getPutNewEntryCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getPutNewEntryCount() - Method in interface org.cache2k.core.CommonMetrics
Counted for a put that triggers the insert of a new cache entry.
getPutNewEntryCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getPutNoReadHitCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getPutNoReadHitCount() - Method in interface org.cache2k.core.CommonMetrics
Counted for a put that updates an existing cache entry.
getPutNoReadHitCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getRandomization() - Method in class org.cache2k.core.DefaultResiliencePolicy
 
getReadHitCount() - Method in class org.cache2k.core.StandardStorageMetrics
 
getReadHitCount() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
getReadHitCount() - Method in interface org.cache2k.core.StorageMetrics
Entry was read from storage and fresh.
getReadMissCount() - Method in class org.cache2k.core.StandardStorageMetrics
 
getReadMissCount() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
getReadMissCount() - Method in interface org.cache2k.core.StorageMetrics
Storage did not contain the requested entry.
getReadNonFreshCount() - Method in class org.cache2k.core.StandardStorageMetrics
 
getReadNonFreshCount() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
getReadNonFreshCount() - Method in interface org.cache2k.core.StorageMetrics
Read from storage, but the entry was not fresh and cannot be returned.
getRefreshCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getRefreshCount() - Method in interface org.cache2k.core.CommonMetrics
Entry was loaded again, triggered by timer
getRefreshCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was loaded again, triggered by timer
getRefreshCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getRefreshCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getRefreshedHitCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getRefreshedHitCount() - Method in interface org.cache2k.core.CommonMetrics
Entry on probation for refresh got hit.
getRefreshedHitCount() - Method in interface org.cache2k.core.InternalCacheInfo
A previously refreshed entry was accessed.
getRefreshedHitCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getRefreshedHitCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getRefreshFailedCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getRefreshFailedCount() - Method in interface org.cache2k.core.CommonMetrics
Refresh submit failed.
getRefreshFailedCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was supposed to be refreshed, but there was no thread available for executing it.
getRefreshFailedCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getRefreshFailedCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getRefreshProbationNextRefreshTime() - Method in class org.cache2k.core.Entry
 
getReloadCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getReloadCount() - Method in interface org.cache2k.core.CommonMetrics
Entry was loaded again, e.g.
getReloadCount() - Method in interface org.cache2k.core.InternalCacheInfo
Entry was loaded again, e.g.
getReloadCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getRemoveCount() - Method in interface org.cache2k.core.InternalCacheInfo
Removed entries, because of programmatic removal.
getRemoveCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getRemovedCount() - Method in class org.cache2k.core.AbstractEviction
 
getRemovedCount() - Method in interface org.cache2k.core.EvictionMetrics
 
getRemovedCount() - Method in class org.cache2k.core.SegmentedEviction
 
getResilienceDuration() - Method in class org.cache2k.core.DefaultResiliencePolicy
 
getRetryCount() - Method in class org.cache2k.core.ExceptionWrapper
 
getRetryInterval() - Method in class org.cache2k.core.DefaultResiliencePolicy
 
getSection(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getSectionName() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Nest
 
getSections() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getSectionsInContainer(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getSegmentLock(int) - Method in class org.cache2k.core.Hash2
 
getSimpleEntry(K) - Method in class org.cache2k.core.BaseCache
 
getSimpleEntry(K) - Method in class org.cache2k.core.HeapCache
 
getSinceTime() - Method in class org.cache2k.core.ExceptionWrapper
 
getSize() - Method in class org.cache2k.core.ClockEviction
 
getSize() - Method in class org.cache2k.core.ClockProPlusEviction
 
getSize() - Method in interface org.cache2k.core.EvictionMetrics
Number of entries in the eviction data structure
getSize() - Method in class org.cache2k.core.Hash2
 
getSize() - Method in interface org.cache2k.core.InternalCacheInfo
Current number of entries in the cache.
getSize() - Method in class org.cache2k.core.RandomEviction
 
getSize() - Method in class org.cache2k.core.SegmentedEviction
 
getSize() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getSource() - Method in class org.cache2k.impl.xmlConfiguration.AbstractConfigurationTokenizer
 
getSource() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer
 
getSource() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Item
 
getSource() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getSource() - Method in interface org.cache2k.impl.xmlConfiguration.SourceLocation
File name or URL of the (configuration) source
getStartedTime() - Method in interface org.cache2k.core.InternalCacheInfo
Time when the cache started the operation.
getStateDescriptor() - Method in class org.cache2k.core.IntegrityState
 
getStateFlags() - Method in class org.cache2k.core.IntegrityState
 
getStorage() - Method in class org.cache2k.core.BaseCache
 
getStorage() - Method in interface org.cache2k.core.InternalCache
 
getStorage() - Method in class org.cache2k.core.WiredCache
 
getStorageHitCnt() - Method in interface org.cache2k.core.InternalCacheInfo
To be removed.
getStorageMetrics() - Method in class org.cache2k.core.BaseCache
 
getStorageMetrics() - Method in interface org.cache2k.core.InternalCache
Return storage metrics if storage attached.
getStorageMissCnt() - Method in interface org.cache2k.core.InternalCacheInfo
To be removed.
getStringPropertyByPath(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getSuppressedExceptionCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getSuppressedExceptionCount() - Method in interface org.cache2k.core.CommonMetrics
Counter of suppressed exceptions from the loader
getSuppressedExceptionCount() - Method in interface org.cache2k.core.InternalCacheInfo
Loader exception occurred, but the resilience policy decided to suppress the exception and continue to use the available value.
getSuppressedExceptionCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getSuppressedLoadExceptionCount() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getSuppressedLoadExceptionInformation() - Method in class org.cache2k.core.Entry
 
getTask() - Method in class org.cache2k.core.Entry
 
getTemplates() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getThreadPoolExecutor() - Method in class org.cache2k.core.ExclusiveExecutor
 
getTimerEventCount() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
getTimerEventCount() - Method in interface org.cache2k.core.CommonMetrics
Count of timer events delivered to this cache.
getTimerEventCount() - Method in interface org.cache2k.core.InternalCacheInfo
Count of timer events delivered to this cache.
getTimerEventCount() - Method in class org.cache2k.core.StandardCommonMetrics
 
getTimestamp() - Static method in class org.cache2k.core.util.Cache2kVersion
 
getTopLevelConfiguration() - Method in interface org.cache2k.impl.xmlConfiguration.VariableExpander.ExpanderContext
 
getTotalEntryCount() - Method in class org.cache2k.core.HeapCache
 
getTotalEntryCount() - Method in interface org.cache2k.core.InternalCache
 
getTotalEntryCount() - Method in class org.cache2k.core.storageApi.StorageAdapter
Return the total number of entries within the heap and the storage.
getTotalEntryCount() - Method in class org.cache2k.core.WiredCache
 
getTotalLoadMillis() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getType(String) - Method in class org.cache2k.impl.xmlConfiguration.BeanPropertyMutator
 
getType() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
getUntil() - Method in class org.cache2k.core.ExceptionWrapper
 
getValue() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
getValue() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Property
 
getValueExpiryTime() - Method in class org.cache2k.core.Entry
Expiry time or 0.
getValueExpiryTime() - Method in interface org.cache2k.core.storageApi.StorageEntry
Time when the value is expired and is not allowed to be returned any more.
getValueOrException() - Method in interface org.cache2k.core.operation.ExaminationEntry
Associated value or the ExceptionWrapper
getValueOrException() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
getValueOrException() - Method in interface org.cache2k.core.storageApi.StorageEntry
Value of the stored entry
getValueType() - Method in class org.cache2k.core.HeapCache
 
getValueType() - Method in interface org.cache2k.core.InternalCache
 
getValueType() - Method in class org.cache2k.core.WiredCache
 
getValueType() - Method in class org.cache2k.impl.serverSide.CacheMXBeanImpl
 
getVersion() - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
getVersion() - Method in class org.cache2k.core.CacheManagerImpl
 
getVersion() - Static method in class org.cache2k.core.util.Cache2kVersion
 
getVersion() - Method in class org.cache2k.impl.serverSide.ManagerMXBeanImpl
 
getVersion() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
getVirginRemovedCount() - Method in class org.cache2k.core.AbstractEviction
 
getVirginRemovedCount() - Method in interface org.cache2k.core.EvictionMetrics
Removal of an entry that was never used
getVirginRemovedCount() - Method in class org.cache2k.core.SegmentedEviction
 
getWarnCount() - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
getWriteCount() - Method in interface org.cache2k.core.EventCounter
 
GlobalThreadFactory - Class in org.cache2k.core.concurrency
Factory which names the threads uniquely.
GlobalThreadFactory(String) - Constructor for class org.cache2k.core.concurrency.GlobalThreadFactory
 
goneSpin() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
goneSpin(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
goneSpin() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
goneSpin(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
goneSpin() - Method in class org.cache2k.core.StandardCommonMetrics
 
goneSpin(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
group(String) - Method in class org.cache2k.core.IntegrityState
 

H

hasBackgroundRefresh() - Method in class org.cache2k.core.HeapCache
 
hasBeenIterated(K, int) - Method in class org.cache2k.core.ConcurrentEntryIterator
Used by the storage code to filter out already iterated keys
hasFreshData(InternalClock) - Method in class org.cache2k.core.Entry
Returns true if the entry has a valid value and is fresh / not expired.
hasFreshData(long, long) - Method in class org.cache2k.core.Entry
 
hash - Variable in class org.cache2k.core.HeapCache
 
Hash2<K,V> - Class in org.cache2k.core
Simple concurrent hash table implementation using optimistic locking for the segments locks.
Hash2() - Constructor for class org.cache2k.core.Hash2
 
hashCode() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
hashLoadPercent - Variable in class org.cache2k.core.HeapCache.Tunable
Fill percentage limit.
hashQualityErrorThreshold - Variable in class org.cache2k.core.HeapCache.Tunable
Alert level error, when hash quality is below this threshold.
hashQualityWarningThreshold - Variable in class org.cache2k.core.HeapCache.Tunable
Alert level error, when hash quality is below this threshold.
hashSeed - Variable in class org.cache2k.core.HeapCache
 
hashSeed - Variable in class org.cache2k.core.HeapCache.Tunable
Seed used when randomization is disabled.
hasKeepAfterExpired() - Method in class org.cache2k.core.HeapCache
 
hasNext() - Method in class org.cache2k.core.ConcurrentEntryIterator
 
hasRejectNullValues() - Method in class org.cache2k.core.HeapCache
 
HealthInfoElement - Interface in org.cache2k.core
Describes a single problem of a cache, for example a bad hash quality.
heapCache - Variable in class org.cache2k.core.AbstractEviction
 
HeapCache<K,V> - Class in org.cache2k.core
Foundation for all cache variants.
HeapCache() - Constructor for class org.cache2k.core.HeapCache
 
HeapCache.RunWithCatch - Class in org.cache2k.core
 
HeapCache.Tunable - Class in org.cache2k.core
 
HeapCacheListener<K,V> - Interface in org.cache2k.core
 
HeapCacheListener.NoOperation<K,V> - Class in org.cache2k.core
 
heapHit(Entry<K, V>) - Method in class org.cache2k.core.EntryAction
 
heapHitButNoRead() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
heapHitButNoRead(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
heapHitButNoRead() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
heapHitButNoRead(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
heapHitButNoRead() - Method in class org.cache2k.core.StandardCommonMetrics
 
heapHitButNoRead(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
heapMiss() - Method in class org.cache2k.core.EntryAction
 

I

info - Variable in class org.cache2k.core.HeapCache
Statistics
info(String) - Method in class org.cache2k.core.util.Log
 
info(String, Throwable) - Method in class org.cache2k.core.util.Log
 
info(String, Throwable) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
info(String) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
init(ResiliencePolicy.Context) - Method in class org.cache2k.core.DefaultResiliencePolicy
 
init() - Method in class org.cache2k.core.HeapCache
 
init(InternalCache<K, V>) - Method in class org.cache2k.core.TimingHandler
Initialize timer, if needed.
init() - Method in class org.cache2k.core.WiredCache
 
initialHashSize - Variable in class org.cache2k.core.HeapCache.Tunable
Size of the hash table before inserting the first entry.
initializeHeapCache() - Method in class org.cache2k.core.HeapCache
 
initWithoutTimerHandler() - Method in class org.cache2k.core.HeapCache
 
insert(Entry<K, V>, V, long, long, byte, long) - Method in class org.cache2k.core.HeapCache
 
insertAfterHeadCyclicList(E, E) - Static method in class org.cache2k.core.Entry
Insert X into A B C, yields: A X B C.
insertInList(Entry, Entry) - Static method in class org.cache2k.core.Entry
 
insertIntoHeadCyclicList(E, E) - Static method in class org.cache2k.core.Entry
Insert element at the head of the list
insertIntoReplacementList(Entry) - Method in class org.cache2k.core.AbstractEviction
 
insertIntoReplacementList(Entry) - Method in class org.cache2k.core.ClockEviction
 
insertIntoReplacementList(Entry) - Method in class org.cache2k.core.ClockProPlusEviction
 
insertIntoReplacementList(Entry) - Method in class org.cache2k.core.RandomEviction
 
insertIntoTailCyclicList(E, E) - Static method in class org.cache2k.core.Entry
 
insertNewEntry(K, int) - Method in class org.cache2k.core.HeapCache
Insert new entry in all structures (hash and eviction).
insertOrUpdateAndCalculateExpiry(Entry<K, V>, V, long, long, byte) - Method in class org.cache2k.core.HeapCache
Calculate the next refresh time if a timer / expiry is needed and call insert.
insertWithinLock(Entry<K, V>, int) - Method in class org.cache2k.core.Hash2
Insert an entry.
INSTANCE - Static variable in class org.cache2k.core.util.ClockDefaultImpl
 
IntegrityState - Class in org.cache2k.core
Used to record and check the integrity.
IntegrityState() - Constructor for class org.cache2k.core.IntegrityState
 
InternalCache<K,V> - Interface in org.cache2k.core
Interface to extended cache functions for the internal components.
InternalCache2kBuilder<K,V> - Class in org.cache2k.core
Method object to construct a cache2k cache.
InternalCache2kBuilder(Cache2kConfiguration<K, V>, CacheManager) - Constructor for class org.cache2k.core.InternalCache2kBuilder
 
InternalCacheInfo - Interface in org.cache2k.core
Collection of all metrics of a cache.
InternalClock - Interface in org.cache2k.core.util
Abstraction for the system clock.
InternalClock.TimeReachedEvent - Interface in org.cache2k.core.util
 
InternalClock.TimeReachedJob - Interface in org.cache2k.core.util
 
internalExceptionCnt - Variable in class org.cache2k.core.HeapCache
Number of internal exceptions.
invoke(K, EntryProcessor<K, V, R>) - Method in class org.cache2k.core.HeapCache
Simply the EntryAction based code to provide the entry processor.
invoke(K, boolean, EntryProcessor<K, V, R>) - Method in class org.cache2k.core.operation.Operations
 
invoke(K, EntryProcessor<K, V, R>) - Method in class org.cache2k.core.WiredCache
 
invokeAll(Iterable<? extends K>, EntryProcessor<K, V, R>) - Method in class org.cache2k.core.BaseCache
 
isCancelled() - Method in class org.cache2k.core.util.SimpleTask
 
isClosed() - Method in class org.cache2k.core.CacheManagerImpl
 
isClosed() - Method in class org.cache2k.core.Hash2
 
isClosed() - Method in class org.cache2k.core.HeapCache
 
isClosed() - Method in class org.cache2k.core.WiredCache
 
isConfigurationPresent() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
isDataValid() - Method in class org.cache2k.core.Entry
The entry value was fetched and is valid, which means it can be returned by the cache.
isDebugEnabled() - Method in class org.cache2k.core.util.Log
 
isDebugEnabled() - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
isDefaultManager() - Method in class org.cache2k.core.CacheManagerImpl
 
isDirty() - Method in class org.cache2k.core.Entry
Memory entry needs to be send to the storage.
isDisabled() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
isDisabled() - Method in interface org.cache2k.core.CommonMetrics
True if statistics are disabled.
isDisabled() - Method in interface org.cache2k.core.CommonMetricsFactory.Parameters
 
isDisabled() - Method in class org.cache2k.core.StandardCommonMetrics
 
isEmpty() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
isEmpty() - Method in class org.cache2k.core.MapValueConverterProxy
 
isExpanded() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Property
Indicates that variable expansion has occurred.
isExpired() - Method in class org.cache2k.core.Entry
The entry expired, still in the cache and subject to removal from the cache if HeapCache.hasKeepAfterExpired() is false.
isGettingRefresh() - Method in class org.cache2k.core.Entry
 
isGone() - Method in class org.cache2k.core.Entry
The entry is not present in the heap any more and was evicted, expired or removed.
isHoldingWriteLock() - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
isHoldingWriteLock() - Method in interface org.cache2k.core.concurrency.OptimisticLock
Checks whether current thread is holding the write lock.
isHoldingWriteLock() - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
isHot() - Method in class org.cache2k.core.Entry
 
isIgnoreAnonymousCache() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
isIgnoreMissingCacheConfiguration() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
isInfoEnabled() - Method in class org.cache2k.core.util.Log
 
isInfoEnabled() - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
isJobSchedulable() - Method in class org.cache2k.core.util.ClockDefaultImpl
 
isJobSchedulable() - Method in class org.cache2k.core.util.ForwardingClock
 
isJobSchedulable() - Method in interface org.cache2k.core.util.InternalClock
The clock is capable to execute code when a certain time is reached and before the time advances further.
isJobSchedulable() - Method in interface org.cache2k.core.util.ScheduledClock
 
isNoLastModificationTime() - Method in class org.cache2k.core.HeapCache
 
isNotYetInsertedInReplacementList() - Method in class org.cache2k.core.Entry
Entry was not inserted into the replacement list AND not removed from replacement list.
isNullValuePermitted() - Method in class org.cache2k.core.HeapCache
 
isNullValuePermitted() - Method in interface org.cache2k.core.InternalCache
 
isNullValuePermitted() - Method in class org.cache2k.core.WiredCache
 
isPrecise() - Method in interface org.cache2k.core.CommonMetricsFactory.Parameters
 
isPresent() - Method in class org.cache2k.core.EntryAction
 
isPresent() - Method in interface org.cache2k.core.operation.Progress
Entry has valid data in the cache and is not expired.
isPresentOrInRefreshProbation() - Method in class org.cache2k.core.EntryAction
 
isPresentOrInRefreshProbation() - Method in interface org.cache2k.core.operation.Progress
Same as Progress.isPresent() but also true if the entry is in refresh probation.
isPresentOrMiss() - Method in class org.cache2k.core.EntryAction
 
isPresentOrMiss() - Method in interface org.cache2k.core.operation.Progress
Entry has valid data in the cache and is not expired.
isProcessing() - Method in class org.cache2k.core.Entry
 
isReadNonValid() - Method in class org.cache2k.core.Entry
Storage was checked, no data available
isRemovedFromReplacementList() - Method in class org.cache2k.core.Entry
Check that this entry is removed from the list, may be used in assertions.
isScheduled() - Method in class org.cache2k.core.util.SimpleTask
 
isSkipCheckOnStartup() - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
isStable() - Method in class org.cache2k.core.Entry
 
isStable() - Method in interface org.cache2k.core.operation.ExaminationEntry
Entry is locked and does not need synchronization to read values consistently
isStable() - Method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
isVirgin() - Method in class org.cache2k.core.Entry
Initial state of an entry.
iterateAll() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
iterateAllHeapEntries() - Method in class org.cache2k.core.HeapCache
Returns all cache entries within the heap cache.
iterator() - Method in class org.cache2k.core.BaseCache
 
iterator() - Method in class org.cache2k.core.HeapCache
 
iterator() - Method in class org.cache2k.core.WiredCache
 

J

JmxSupport - Class in org.cache2k.impl.serverSide
Adds optional support for JMX.
JmxSupport() - Constructor for class org.cache2k.impl.serverSide.JmxSupport
 
JndiDefaultNameProvider - Class in org.cache2k.impl.serverSide
 
JndiDefaultNameProvider() - Constructor for class org.cache2k.impl.serverSide.JndiDefaultNameProvider
 
Job<T> - Interface in org.cache2k.core.concurrency
A callable function.

K

keyMutationCnt - Variable in class org.cache2k.core.HeapCache
Counts the number of key mutations.
keys() - Method in class org.cache2k.core.BaseCache
Key iteration on top of normal iterator.
keySet() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
keySet() - Method in class org.cache2k.core.MapValueConverterProxy
 
keyType - Variable in class org.cache2k.core.HeapCache
 

L

ListenerException(Throwable) - Constructor for exception org.cache2k.core.EntryAction.ListenerException
 
load(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
load(long, long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
load(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
load(long, long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
load() - Method in class org.cache2k.core.EntryAction
 
load() - Method in interface org.cache2k.core.EventCounter
 
load(int) - Method in interface org.cache2k.core.EventCounter
 
load(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
load() - Method in interface org.cache2k.core.operation.Progress
Request that the entry value gets loaded from loader.
load(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
load(long, long) - Method in class org.cache2k.core.StandardCommonMetrics
 
loadAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.HeapCache
 
loadAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.WiredCache
 
loadAndExpiryCalculatedMutateAgain() - Method in class org.cache2k.core.EntryAction
 
loadAndMutation() - Method in class org.cache2k.core.EntryAction
 
loadAndMutation() - Method in interface org.cache2k.core.operation.Progress
Request a load, however call update again for the final outcome.
loadAndReplace(K) - Method in class org.cache2k.core.HeapCache
Always fetch the value from the source.
loadCompleted() - Method in class org.cache2k.core.EntryAction
 
loaded(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.Base
By default a load returns always the value as result.
loaded(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in interface org.cache2k.core.operation.Semantic
Load is complete.
LoadedEntry<K,V> - Interface in org.cache2k.core.operation
 
loader() - Method in class org.cache2k.core.EntryAction
Provide the cache loader, if present.
loader - Variable in class org.cache2k.core.HeapCache
 
loaderExecutor - Variable in class org.cache2k.core.HeapCache
 
loaderThreadCountCpuFactor - Variable in class org.cache2k.core.HeapCache.Tunable
Number of maximum loader threads, depending on the CPUs.
loadException() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
loadException(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
loadException() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
loadException(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
loadException() - Method in class org.cache2k.core.StandardCommonMetrics
 
loadException(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
loadStart() - Method in interface org.cache2k.core.EventCounter
 
lock - Variable in class org.cache2k.core.HeapCache
Structure lock of the cache.
lockAndRun(Object, PurgeableStorage.PurgeAction) - Method in interface org.cache2k.core.storageApi.PurgeableStorage.PurgeContext
Runs the action under the entry lock for the key.
lockAndRunForPurge(K, PurgeableStorage.PurgeAction) - Method in class org.cache2k.core.WiredCache
Insert a cache entry for the given key and run action under the entry lock.
Locks - Class in org.cache2k.core.concurrency
Internal factory for lock implementations.
Locks() - Constructor for class org.cache2k.core.concurrency.Locks
 
Log - Class in org.cache2k.core.util
cache2k has only sparse logging.
Log() - Constructor for class org.cache2k.core.util.Log
 
Log.SuppressionCounter - Class in org.cache2k.core.util
Log implementation that can be used to count suppressed log outputs.
logAndCountInternalException(String, Throwable) - Method in class org.cache2k.core.HeapCache
 
logAndCountInternalException(String, Throwable) - Method in interface org.cache2k.core.InternalCache
 
logAndCountInternalException(String, Throwable) - Method in class org.cache2k.core.WiredCache
 
LogFactory - Interface in org.cache2k.core.util
Service provider interface to implement to reroute cache2k logging to another log implementation.
longestCollisionSize - Variable in class org.cache2k.core.CollisionInfo
 
lookup(K, int) - Method in class org.cache2k.core.Hash2
Lookup the entry in the hash table and return it.
lookupEntry(K) - Method in class org.cache2k.core.HeapCache
 
lookupEntry(K, int) - Method in class org.cache2k.core.HeapCache
 
lookupEntryNoHitRecord(K) - Method in class org.cache2k.core.HeapCache
 
lookupEntryNoHitRecord(K, int) - Method in class org.cache2k.core.HeapCache
 
lookupOrNewEntry(K) - Method in class org.cache2k.core.HeapCache
Lookup or create a new entry.
lookupOrNewEntry(K, int) - Method in class org.cache2k.core.HeapCache
 
lookupOrNewEntryNoHitRecord(K) - Method in class org.cache2k.core.HeapCache
 

M

manager - Variable in class org.cache2k.core.HeapCache
 
managerCreated(CacheManager) - Method in interface org.cache2k.core.spi.CacheManagerLifeCycleListener
 
managerCreated(CacheManager) - Method in class org.cache2k.impl.serverSide.JmxSupport
 
managerDestroyed(CacheManager) - Method in interface org.cache2k.core.spi.CacheManagerLifeCycleListener
 
managerDestroyed(CacheManager) - Method in class org.cache2k.impl.serverSide.JmxSupport
 
ManagerMXBeanImpl - Class in org.cache2k.impl.serverSide
 
ManagerMXBeanImpl(CacheManagerImpl) - Constructor for class org.cache2k.impl.serverSide.ManagerMXBeanImpl
 
MapValueConverterProxy<K,V,S> - Class in org.cache2k.core
Delegates all requests to the given map and converts the value.
MapValueConverterProxy(Map<K, S>) - Constructor for class org.cache2k.core.MapValueConverterProxy
 
markIterated(K, int) - Method in class org.cache2k.core.ConcurrentEntryIterator
Mark the key as returned by the iteration to suppress doubled iterations when we need to scan throw twice ore more, e.g.
MAXIMAL_CHUNK_SIZE - Static variable in class org.cache2k.core.AbstractEviction
 
maxSize - Variable in class org.cache2k.core.AbstractEviction
 
metrics() - Method in class org.cache2k.core.EntryAction
Provide the standard metrics for updating.
mightHaveListeners() - Method in class org.cache2k.core.EntryAction
True if there is any listener defined.
MightUpdateExisting() - Constructor for class org.cache2k.core.operation.Semantic.MightUpdateExisting
 
millis() - Method in class org.cache2k.core.util.ClockDefaultImpl
 
millis() - Method in class org.cache2k.core.util.ForwardingClock
 
millis() - Method in interface org.cache2k.core.util.InternalClock
Returns the milliseconds since epoch.
MINIMAL_CHUNK_SIZE - Static variable in class org.cache2k.core.AbstractEviction
 
MINIMUM_CAPACITY_FOR_CHUNKING - Static variable in class org.cache2k.core.AbstractEviction
 
minimumStatisticsCreationDeltaMillis - Variable in class org.cache2k.core.HeapCache.Tunable
Some statistic values need processing time to gather and compute it.
minimumStatisticsCreationTimeDeltaFactor - Variable in class org.cache2k.core.HeapCache.Tunable
Factor of the statistics creation time, that determines the time difference when new statistics are generated.
modifiedHash(int) - Method in class org.cache2k.core.HeapCache
This function calculates a modified hash code.
moveToFront(E, E) - Static method in class org.cache2k.core.Entry
 
mutate(Object, String, Object) - Method in class org.cache2k.impl.xmlConfiguration.BeanPropertyMutator
 
mutationAbort(RuntimeException) - Method in class org.cache2k.core.EntryAction
 
mutationCalculateExpiry() - Method in class org.cache2k.core.EntryAction
 
mutationDone() - Method in class org.cache2k.core.EntryAction
 
mutationMayCallWriter() - Method in class org.cache2k.core.EntryAction
Entry mutation, call writer if needed or skip to EntryAction.mutationMayStore()
mutationMayStore() - Method in class org.cache2k.core.EntryAction
Entry mutation, call storage if needed
mutationReleaseLockAndStartTimer() - Method in class org.cache2k.core.EntryAction
 
mutationUpdateHeap() - Method in class org.cache2k.core.EntryAction
 

N

name - Variable in class org.cache2k.core.HeapCache
 
NAME_SEPARATOR - Static variable in class org.cache2k.core.util.Util
 
needMetaData() - Method in interface org.cache2k.core.storageApi.CacheStorage.VisitContext
True if entries should have metadata.
NeedsExpansion() - Constructor for exception org.cache2k.impl.xmlConfiguration.VariableExpander.NeedsExpansion
 
NeedsLoadRestartException() - Constructor for exception org.cache2k.core.operation.Operations.NeedsLoadRestartException
 
needsTimeCheck() - Method in class org.cache2k.core.Entry
 
needValue() - Method in interface org.cache2k.core.storageApi.CacheStorage.VisitContext
True if entries should have the value field set with the storage contents.
newCache(InternalCache, String) - Method in class org.cache2k.core.CacheManagerImpl
 
newOptimistic() - Static method in class org.cache2k.core.concurrency.Locks
Returns a new lock implementation depending on the platform support.
newThread(Runnable) - Method in class org.cache2k.core.concurrency.GlobalThreadFactory
 
newThreadFactory(String) - Method in class org.cache2k.core.concurrency.DefaultThreadFactoryProvider
 
newThreadFactory(String) - Method in interface org.cache2k.core.concurrency.ThreadFactoryProvider
Construct a new thread factory for the pool.
next() - Method in class org.cache2k.core.ConcurrentEntryIterator
 
next - Variable in class org.cache2k.core.Entry
Lru list: pointer to next element or list head
next() - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer
The next item in the configuration or null if the end is reached.
next() - Method in class org.cache2k.impl.xmlConfiguration.StaxConfigTokenizer
 
next() - Method in class org.cache2k.impl.xmlConfiguration.XppConfigTokenizer
 
nextProcessingStep(int) - Method in class org.cache2k.core.Entry
Switch to another processing state that is other then done.
NO_OPERATION - Static variable in interface org.cache2k.core.HeapCacheListener
 
noMutationRequested() - Method in class org.cache2k.core.EntryAction
 
NonOptimisticLock - Class in org.cache2k.core.concurrency
Fallback locking mechanism when StampedLock is not available.
NonOptimisticLock() - Constructor for class org.cache2k.core.concurrency.NonOptimisticLock
 
NoOperation() - Constructor for class org.cache2k.core.HeapCacheListener.NoOperation
 

O

of(CacheEntry<K, V>) - Static method in class org.cache2k.core.operation.ReadOnlyCacheEntry
 
of(InternalClock, Cache2kConfiguration<K, V>) - Static method in class org.cache2k.core.TimingHandler
 
onEvictionFromHeap(Entry<K, V>) - Method in class org.cache2k.core.HeapCacheListener.NoOperation
 
onEvictionFromHeap(Entry<K, V>) - Method in interface org.cache2k.core.HeapCacheListener
 
onEvictionFromHeap(Entry<K, V>) - Method in class org.cache2k.core.WiredCache
 
onLoadFailure(Throwable) - Method in class org.cache2k.core.EntryAction
 
onLoadFailure(Throwable) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheLoader.Callback
 
onLoadSuccess(V) - Method in class org.cache2k.core.EntryAction
 
onLoadSuccess(V) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheLoader.Callback
 
onReadFailure(Throwable) - Method in interface org.cache2k.core.storageApi.StorageCallback
 
onReadSuccess(StorageEntry) - Method in interface org.cache2k.core.storageApi.StorageCallback
 
onStoreFailure(Throwable) - Method in interface org.cache2k.core.storageApi.StorageCallback
 
onStoreSuccess(boolean) - Method in interface org.cache2k.core.storageApi.StorageCallback
 
onWriteFailure(Throwable) - Method in class org.cache2k.core.EntryAction
 
onWriteFailure(Throwable) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheWriter.Callback
 
onWriteSuccess() - Method in class org.cache2k.core.EntryAction
 
onWriteSuccess() - Method in interface org.cache2k.core.experimentalApi.AsyncCacheWriter.Callback
 
open() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
Operations<K,V> - Class in org.cache2k.core.operation
Semantics of all cache operations on entries.
Operations() - Constructor for class org.cache2k.core.operation.Operations
 
Operations.NeedsLoadRestartException - Exception in org.cache2k.core.operation
 
OptimisticLock - Interface in org.cache2k.core.concurrency
Interface for a lock that allows an optimistic read by comparing a stamp value.
OptimisticLockStamped - Class in org.cache2k.core.concurrency
Optimistic lock backed by a Java 8 StampedLock
OptimisticLockStamped() - Constructor for class org.cache2k.core.concurrency.OptimisticLockStamped
 
org.cache2k.core - package org.cache2k.core
 
org.cache2k.core.concurrency - package org.cache2k.core.concurrency
 
org.cache2k.core.event - package org.cache2k.core.event
 
org.cache2k.core.experimentalApi - package org.cache2k.core.experimentalApi
 
org.cache2k.core.operation - package org.cache2k.core.operation
 
org.cache2k.core.spi - package org.cache2k.core.spi
 
org.cache2k.core.storageApi - package org.cache2k.core.storageApi
 
org.cache2k.core.util - package org.cache2k.core.util
 
org.cache2k.impl.serverSide - package org.cache2k.impl.serverSide
 
org.cache2k.impl.xmlConfiguration - package org.cache2k.impl.xmlConfiguration
 

P

parse(Class<?>, String) - Method in interface org.cache2k.impl.xmlConfiguration.PropertyParser
 
parse(Class<?>, String) - Method in class org.cache2k.impl.xmlConfiguration.StandardPropertyParser
 
parse(String) - Method in interface org.cache2k.impl.xmlConfiguration.ValueConverter
 
ParsedConfiguration - Class in org.cache2k.impl.xmlConfiguration
Holds the complete parsed configuration or parts of it.
ParsedConfiguration(String, int) - Constructor for class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
peek(K) - Method in class org.cache2k.core.HeapCache
 
peek(K) - Method in class org.cache2k.core.operation.Operations
 
peek(K) - Method in class org.cache2k.core.WiredCache
 
peekAll(Iterable<? extends K>) - Method in class org.cache2k.core.HeapCache
 
peekAll(Iterable<? extends K>) - Method in class org.cache2k.core.WiredCache
We need to deal with possible null values and exceptions.
peekAndPut(K, V) - Method in class org.cache2k.core.HeapCache
 
peekAndPut(K, V) - Method in class org.cache2k.core.operation.Operations
 
peekAndPut(K, V) - Method in class org.cache2k.core.WiredCache
 
peekAndRemove(K) - Method in class org.cache2k.core.HeapCache
 
peekAndRemove(K) - Method in class org.cache2k.core.operation.Operations
 
peekAndRemove(K) - Method in class org.cache2k.core.WiredCache
 
peekAndReplace(K, V) - Method in class org.cache2k.core.HeapCache
 
peekAndReplace(K, V) - Method in class org.cache2k.core.operation.Operations
 
peekAndReplace(K, V) - Method in class org.cache2k.core.WiredCache
 
peekEntry(K) - Method in class org.cache2k.core.HeapCache
 
peekEntry(K) - Method in class org.cache2k.core.operation.Operations
 
peekEntry(K) - Method in class org.cache2k.core.WiredCache
 
peekEntryInternal(K) - Method in class org.cache2k.core.HeapCache
Return the entry, if it is in the cache, without invoking the cache source.
peekHitNotFresh() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
peekHitNotFresh(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
peekHitNotFresh() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
peekHitNotFresh(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
peekHitNotFresh() - Method in class org.cache2k.core.StandardCommonMetrics
 
peekHitNotFresh(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
peekMiss() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
peekMiss(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
peekMiss() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
peekMiss(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
peekMiss() - Method in class org.cache2k.core.StandardCommonMetrics
 
peekMiss(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
peekSimpleEntry(K) - Method in class org.cache2k.core.BaseCache
 
peekSimpleEntry(K) - Method in class org.cache2k.core.HeapCache
 
prefetch(K) - Method in class org.cache2k.core.HeapCache
 
prefetch(K) - Method in class org.cache2k.core.WiredCache
 
prefetchAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.HeapCache
 
prefetchAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.WiredCache
 
prefetchExecutor - Variable in class org.cache2k.core.HeapCache
 
prev - Variable in class org.cache2k.core.Entry
Lru list: pointer to previous element or list head
processingDone() - Method in class org.cache2k.core.Entry
Set processing state to done and notify all that wait for processing this entry.
ProcessingFailureException(Throwable) - Constructor for exception org.cache2k.core.EntryAction.ProcessingFailureException
 
Progress<K,V,R> - Interface in org.cache2k.core.operation
Interface for cache operation semantics to control the progress of the processing.
propagateException(K, ExceptionInformation) - Method in class org.cache2k.core.EntryAction
 
propagateException(K, ExceptionInformation) - Method in interface org.cache2k.core.operation.Progress
Needed for the mutable entry getValue() to throw an exception.
propagateException(Object, ExceptionInformation) - Method in class org.cache2k.core.StandardExceptionPropagator
 
PropertyParser - Interface in org.cache2k.impl.xmlConfiguration
Knows how to parse and convert string values to the target object type.
PROVIDER - Static variable in class org.cache2k.core.CacheManagerImpl
 
purge(PurgeableStorage.PurgeContext, long, long) - Method in interface org.cache2k.core.storageApi.PurgeableStorage
Removes all entries which have an expiry time before or equal to the given time.
purge() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
purge() - Method in class org.cache2k.core.util.SimpleTimer
Removes all cancelled tasks from this timer's task queue.
PurgeableStorage - Interface in org.cache2k.core.storageApi
 
PurgeableStorage.PurgeAction - Interface in org.cache2k.core.storageApi
 
PurgeableStorage.PurgeContext - Interface in org.cache2k.core.storageApi
 
PurgeableStorage.PurgeResult - Interface in org.cache2k.core.storageApi
Statistics
purgeInterval - Variable in class org.cache2k.core.TimingHandler.Tunable
The number of cancelled timer tasks after that a purge is performed.
put(K, V) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
put(V) - Method in class org.cache2k.core.EntryAction
 
put(K, V) - Method in class org.cache2k.core.HeapCache
 
put(K, V) - Method in class org.cache2k.core.MapValueConverterProxy
 
put(K, V) - Method in class org.cache2k.core.operation.Operations
 
put(V) - Method in interface org.cache2k.core.operation.Progress
Update the entry with the new value.
put(StorageEntry) - Method in interface org.cache2k.core.storageApi.CacheStorage
Stores the entry in the storage.
put(Entry, long) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
put(K, V) - Method in class org.cache2k.core.WiredCache
 
putAll(Map<? extends K, ? extends V>) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
putAll(Map<? extends K, ? extends V>) - Method in class org.cache2k.core.HeapCache
 
putAll(Map<? extends K, ? extends V>) - Method in class org.cache2k.core.MapValueConverterProxy
 
putAll(Map<? extends K, ? extends V>) - Method in class org.cache2k.core.WiredCache
 
putAndSetExpiry(V, long) - Method in class org.cache2k.core.EntryAction
 
putAndSetExpiry(V, long) - Method in interface org.cache2k.core.operation.Progress
Set new value, skip expiry calculation and set expiry time directly.
putHit() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putHit(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putHit() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putHit(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putHit() - Method in class org.cache2k.core.StandardCommonMetrics
 
putHit(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
putIfAbsent(K, V) - Method in class org.cache2k.core.ConcurrentMapWrapper
We cannot use Cache.putIfAbsent(Object, Object) since the map returns the value.
putIfAbsent(K, V) - Method in class org.cache2k.core.HeapCache
 
putIfAbsent(K, V) - Method in class org.cache2k.core.operation.Operations
Updates intentionally hit and miss counter to adjust with JSR107.
putIfAbsent(K, V) - Method in class org.cache2k.core.WiredCache
 
putNewEntry() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putNewEntry(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putNewEntry() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putNewEntry(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putNewEntry() - Method in class org.cache2k.core.StandardCommonMetrics
 
putNewEntry(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
putNoReadHit() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putNoReadHit(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
putNoReadHit() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putNoReadHit(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
putNoReadHit() - Method in class org.cache2k.core.StandardCommonMetrics
 
putNoReadHit(long) - Method in class org.cache2k.core.StandardCommonMetrics
 

Q

queue(AsyncEvent<K>) - Method in class org.cache2k.core.event.AsyncDispatcher
Immediately executes an event with the provided executor.

R

RandomEviction - Class in org.cache2k.core
 
RandomEviction(HeapCache, HeapCacheListener, long) - Constructor for class org.cache2k.core.RandomEviction
 
RangeCheckClock - Class in org.cache2k.core.util
 
RangeCheckClock(long, InternalClock) - Constructor for class org.cache2k.core.util.RangeCheckClock
 
Read() - Constructor for class org.cache2k.core.operation.Semantic.Read
 
readHit() - Method in class org.cache2k.core.StandardStorageMetrics
 
readHit(long) - Method in class org.cache2k.core.StandardStorageMetrics
 
readHit() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readHit(long) - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readHit() - Method in interface org.cache2k.core.StorageMetrics.Updater
 
readHit(long) - Method in interface org.cache2k.core.StorageMetrics.Updater
 
readLock() - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
readLock() - Method in interface org.cache2k.core.concurrency.OptimisticLock
Non-exclusively acquires the lock, blocking if necessary until available.
readLock() - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
readMiss() - Method in class org.cache2k.core.StandardStorageMetrics
 
readMiss(long) - Method in class org.cache2k.core.StandardStorageMetrics
 
readMiss() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readMiss(long) - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readMiss() - Method in interface org.cache2k.core.StorageMetrics.Updater
 
readMiss(long) - Method in interface org.cache2k.core.StorageMetrics.Updater
 
readNonFresh() - Method in class org.cache2k.core.StandardStorageMetrics
 
readNonFresh(long) - Method in class org.cache2k.core.StandardStorageMetrics
 
readNonFresh() - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readNonFresh(long) - Method in class org.cache2k.core.StorageMetrics.Dummy
 
readNonFresh() - Method in interface org.cache2k.core.StorageMetrics.Updater
 
readNonFresh(long) - Method in interface org.cache2k.core.StorageMetrics.Updater
 
ReadOnlyCacheEntry<K,V> - Class in org.cache2k.core.operation
 
ReadOnlyCacheEntry(Entry<K, V>) - Constructor for class org.cache2k.core.operation.ReadOnlyCacheEntry
 
ReadOnlyCacheEntry(K, V, long) - Constructor for class org.cache2k.core.operation.ReadOnlyCacheEntry
 
ready() - Method in class org.cache2k.core.EntryAction
 
recordHit(Entry) - Method in class org.cache2k.core.HeapCache
Increment the hit counter, because entry was accessed.
refresh(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refresh(long, long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refresh(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refresh(long, long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refresh() - Method in class org.cache2k.core.EntryAction
 
REFRESH - Static variable in class org.cache2k.core.operation.Operations
 
refresh() - Method in interface org.cache2k.core.operation.Progress
Same as load but counting statistics as refresh.
refresh(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
refresh(long, long) - Method in class org.cache2k.core.StandardCommonMetrics
 
refreshedHit() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refreshedHit(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refreshedHit() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refreshedHit(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refreshedHit() - Method in class org.cache2k.core.StandardCommonMetrics
 
refreshedHit(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
refreshFailed() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refreshFailed(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
refreshFailed() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refreshFailed(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
refreshFailed() - Method in class org.cache2k.core.StandardCommonMetrics
 
refreshFailed(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
registerCache2kExtension() - Method in class org.cache2k.impl.serverSide.JndiDefaultNameProvider
 
registerSuppression(String, Log) - Static method in class org.cache2k.core.util.Log
Redirects log output, this is used for testing purposes.
reload(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
reload(long, long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
reload(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
reload(long, long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
reload(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
reload(long, long) - Method in class org.cache2k.core.StandardCommonMetrics
 
reload() - Static method in class org.cache2k.core.util.TunableFactory
Reload the tunable configuration from the system properties and the configuration file.
reloadAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.HeapCache
 
reloadAll(Iterable<? extends K>, CacheOperationCompletionListener) - Method in class org.cache2k.core.WiredCache
 
remove() - Method in class org.cache2k.core.ConcurrentEntryIterator
 
remove(Object, Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
remove(Object) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
remove() - Method in class org.cache2k.core.EntryAction
 
remove(K, AsyncCacheWriter.Callback, Executor) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheWriter
 
remove(Entry<K, V>) - Method in class org.cache2k.core.Hash2
Remove existing entry from the hash.
remove(K) - Method in class org.cache2k.core.HeapCache
 
remove(Object) - Method in class org.cache2k.core.MapValueConverterProxy
 
remove(K) - Method in class org.cache2k.core.operation.Operations
 
remove(K, V) - Method in class org.cache2k.core.operation.Operations
 
remove() - Method in interface org.cache2k.core.operation.Progress
The entry will be removed.
remove(Object) - Method in interface org.cache2k.core.storageApi.CacheStorage
 
remove(Object) - Method in class org.cache2k.core.storageApi.StorageAdapter
 
remove(K) - Method in class org.cache2k.core.WiredCache
 
removeAll() - Method in class org.cache2k.core.BaseCache
 
removeAll(Iterable<? extends K>) - Method in class org.cache2k.core.BaseCache
 
removeAll() - Method in class org.cache2k.core.ClockEviction
 
removeAll() - Method in class org.cache2k.core.ClockProPlusEviction
 
removeAll() - Method in interface org.cache2k.core.Eviction
Remove all entries from the eviction data structure.
removeAll() - Method in class org.cache2k.core.RandomEviction
 
removeAll() - Method in class org.cache2k.core.SegmentedEviction
 
removedFromList() - Method in class org.cache2k.core.Entry
Reset next as a marker for Entry.isRemovedFromReplacementList()
removeEntry(Entry) - Method in class org.cache2k.core.HeapCache
Remove the entry from the hash and the replacement list.
removeEntryForEviction(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
Remove the entry from the hash table.
removeFromCyclicList(E, E) - Static method in class org.cache2k.core.Entry
 
removeFromCyclicList(Entry) - Static method in class org.cache2k.core.Entry
 
removeFromList(Entry) - Static method in class org.cache2k.core.Entry
 
removeFromReplacementList(Entry) - Method in class org.cache2k.core.AbstractEviction
 
removeFromReplacementList(Entry) - Method in class org.cache2k.core.ClockEviction
 
removeFromReplacementList(Entry) - Method in class org.cache2k.core.ClockProPlusEviction
Remove, expire or eviction of an entry happens.
removeFromReplacementList(Entry) - Method in class org.cache2k.core.RandomEviction
 
removeFromReplacementListOnEvict(Entry) - Method in class org.cache2k.core.AbstractEviction
 
removeFromReplacementListOnEvict(Entry) - Method in class org.cache2k.core.ClockProPlusEviction
Track the entry on the ghost list and call the usual remove procedure.
removeIfEquals(K, V) - Method in class org.cache2k.core.HeapCache
 
removeIfEquals(K, V) - Method in class org.cache2k.core.WiredCache
 
removeWithFlag(K, boolean, V) - Method in class org.cache2k.core.HeapCache
Remove the object from the cache.
removeWithinLock(Entry<K, V>, int) - Method in class org.cache2k.core.Hash2
 
replace(K, V, V) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
replace(K, V) - Method in class org.cache2k.core.ConcurrentMapWrapper
 
replace(K, V) - Method in class org.cache2k.core.HeapCache
 
replace(K, boolean, V, V) - Method in class org.cache2k.core.HeapCache
replace if value matches.
replace(K, V) - Method in class org.cache2k.core.operation.Operations
Updates intentionally hit and miss counter to adjust with JSR107.
replace(K, V, V) - Method in class org.cache2k.core.operation.Operations
 
replace(K, V) - Method in class org.cache2k.core.WiredCache
 
replaceIfEquals(K, V, V) - Method in class org.cache2k.core.HeapCache
 
replaceIfEquals(K, V, V) - Method in class org.cache2k.core.WiredCache
 
replaceOrGet(K, V, V, CacheEntry<K, V>) - Method in class org.cache2k.core.HeapCache
 
replaceOrGet(K, V, V, CacheEntry<K, V>) - Method in interface org.cache2k.core.InternalCache
Used by JCache impl, since access needs to trigger the TTI maybe use EP instead?
replaceOrGet(K, V, V, CacheEntry<K, V>) - Method in class org.cache2k.core.operation.Operations
 
replaceOrGet(K, V, V, CacheEntry<K, V>) - Method in class org.cache2k.core.WiredCache
 
requestInterface(Class<X>) - Method in class org.cache2k.core.BaseCache
 
reset() - Method in class org.cache2k.core.TimingHandler
Cancel all timer events, and re-initialize timer
resetDirty() - Method in class org.cache2k.core.Entry
 
resetStorage(StorageAdapter, StorageAdapter) - Method in interface org.cache2k.core.storageApi.StorageAdapter.Parent
Change the storage implementation to another one or null for a disconnect
resetStorage(StorageAdapter, StorageAdapter) - Method in class org.cache2k.core.WiredCache
 
resetSuppressedLoadExceptionInformation() - Method in class org.cache2k.core.Entry
If the entry carries information about a suppressed exception, clear it.
ResiliencePolicyException - Exception in org.cache2k.core
Exception happened in the resilience policy.
ResiliencePolicyException(Throwable) - Constructor for exception org.cache2k.core.ResiliencePolicyException
 
result(R) - Method in class org.cache2k.core.EntryAction
 
result(R) - Method in interface org.cache2k.core.operation.Progress
Sets the operation result.
ResultEntry<K,V> - Interface in org.cache2k.core.operation
Needed for getAll and peekAll to have the valueOrException.
rethrow(String, Throwable) - Static method in class org.cache2k.core.storageApi.StorageAdapter
 
retrieveDataFromHeap() - Method in class org.cache2k.core.EntryAction
 
retryLoadAfter(K, ExceptionInformation) - Method in class org.cache2k.core.DefaultResiliencePolicy
 
returnCacheEntry(ExaminationEntry<K, V>) - Static method in class org.cache2k.core.HeapCache
 
returnCacheEntry(K, V, long) - Static method in class org.cache2k.core.HeapCache
 
returnEntry(ExaminationEntry<K, V>) - Method in class org.cache2k.core.HeapCache
Wrap entry in a separate object instance.
returnNest(String) - Method in class org.cache2k.impl.xmlConfiguration.AbstractConfigurationTokenizer
 
returnNullValueDetectedException() - Method in class org.cache2k.core.HeapCache
 
returnProperty(String, String) - Method in class org.cache2k.impl.xmlConfiguration.AbstractConfigurationTokenizer
 
returnSimpleEntry(Entry<K, V>) - Static method in class org.cache2k.core.HeapCache
Wrap the cache entry into a new entry object and return it.
returnUnnest() - Method in class org.cache2k.impl.xmlConfiguration.AbstractConfigurationTokenizer
 
returnValue(V) - Method in class org.cache2k.core.HeapCache
 
returnValue(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
reviveRefreshedEntry(long) - Method in class org.cache2k.core.EntryAction
 
run() - Method in class org.cache2k.core.HeapCache.RunWithCatch
 
run() - Method in class org.cache2k.core.util.SimpleTask
The action to be performed by this timer task.
runLocked(Job<T>) - Method in class org.cache2k.core.AbstractEviction
 
runLocked(Job<T>) - Method in interface org.cache2k.core.Eviction
Runs job making sure concurrent evictions operations pause.
runLocked(Job<T>) - Method in class org.cache2k.core.SegmentedEviction
 
runMoreOrStop(AsyncEvent<K>) - Method in class org.cache2k.core.event.AsyncDispatcher
Run as long there is still an event for the key.
runTotalLocked(Job<T>) - Method in class org.cache2k.core.Hash2
Lock all segments and run the job.
RunWithCatch(InternalCache) - Constructor for class org.cache2k.core.HeapCache.RunWithCatch
 

S

schedule(InternalClock.TimeReachedJob, long) - Method in class org.cache2k.core.util.ClockDefaultImpl
 
schedule(InternalClock.TimeReachedJob, long) - Method in class org.cache2k.core.util.ForwardingClock
 
schedule(InternalClock.TimeReachedJob, long) - Method in interface org.cache2k.core.util.InternalClock
Schedules or reschedules the timer event job to be run at the specified point in time.
schedule(ScheduledClock.Job, long) - Method in interface org.cache2k.core.util.ScheduledClock
 
schedule() - Method in class org.cache2k.core.util.SimpleTask
 
schedule(SimpleTask, Date) - Method in class org.cache2k.core.util.SimpleTimer
Schedules the specified task for execution at the specified time.
ScheduledClock - Interface in org.cache2k.core.util
 
ScheduledClock.Job - Interface in org.cache2k.core.util
 
scheduledExecutionTime() - Method in class org.cache2k.core.util.SimpleTask
Returns the scheduled execution time of the most recent actual execution of this task.
scheduleFinalTimerForSharpExpiry(Entry<K, V>) - Method in class org.cache2k.core.TimingHandler
Schedule second timer event for the expiry tie if sharp expiry is switched on.
segmentCountOverride - Variable in class org.cache2k.core.HeapCache.Tunable
Override parameter for segment count.
SegmentedEviction - Class in org.cache2k.core
Forwards eviction operations to segments based on the hash code.
SegmentedEviction(Eviction[]) - Constructor for class org.cache2k.core.SegmentedEviction
 
Semantic<K,V,R> - Interface in org.cache2k.core.operation
Defines the semantic of a cache operation based on Java code that examines the cached entry and calls Progress for instructing the cache what needs to be done.
Semantic.Base<K,V,R> - Class in org.cache2k.core.operation
Base class to provide a default for the load result.
Semantic.MightUpdateExisting<K,V,R> - Class in org.cache2k.core.operation
Read a cache entry and do an optional update.
Semantic.Read<K,V,R> - Class in org.cache2k.core.operation
Read only operation.
Semantic.Update<K,V,R> - Class in org.cache2k.core.operation
Only update the entry.
Semantic.UpdateExisting<K,V,R> - Class in org.cache2k.core.operation
Read a cache entry and do an optional update.
sendCreatedEvent(Cache) - Method in class org.cache2k.core.CacheManagerImpl
 
setAdvancedLoader(AdvancedCacheLoader<K, V>) - Method in class org.cache2k.core.HeapCache
 
setCacheClosedListeners(Collection<CustomizationSupplier<CacheClosedListener>>) - Method in class org.cache2k.core.HeapCache
 
setCacheConfig(Cache2kConfiguration) - Method in class org.cache2k.core.HeapCache
called from CacheBuilder
setCacheManager(CacheManagerImpl) - Method in class org.cache2k.core.HeapCache
 
setClassLoader(ClassLoader) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setClock(InternalClock) - Method in class org.cache2k.core.HeapCache
 
setConfigurationPresent(boolean) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setContainer(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
setDefaultManagerConfiguration(Cache2kConfiguration<?, ?>) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setDefaultManagerName(ClassLoader, String) - Method in class org.cache2k.core.Cache2kCoreProviderImpl
 
setDefaultManagerName(String) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setExceptionPropagator(ExceptionPropagator) - Method in class org.cache2k.core.HeapCache
 
setExpanded(boolean) - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Property
 
setExpiredState() - Method in class org.cache2k.core.Entry
Entry is kept in the cache but has expired
setFeatureBit(int, boolean) - Method in class org.cache2k.core.HeapCache
 
setGone() - Method in class org.cache2k.core.Entry
 
setHot(boolean) - Method in class org.cache2k.core.Entry
 
setIgnoreAnonymousCache(boolean) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setIgnoreMissingCacheConfiguration(boolean) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setLastModification(long) - Method in class org.cache2k.core.Entry
Set modification time and marks entry as dirty.
setLastModificationFromStorage(long) - Method in class org.cache2k.core.Entry
 
setMultiplier(double) - Method in class org.cache2k.core.DefaultResiliencePolicy
 
setName(String) - Method in class org.cache2k.core.HeapCache
Set the name and configure a logging, used within cache construction.
setName(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
setNextRefreshTime(long) - Method in class org.cache2k.core.Entry
 
setPredefinedSectionTypes(Map<String, String>) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setPropertyContext(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
setRandomization(double) - Method in class org.cache2k.core.DefaultResiliencePolicy
 
setRefreshProbationNextRefreshTime(long) - Method in class org.cache2k.core.Entry
 
setSkipCheckOnStartup(boolean) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setSuppressedLoadExceptionInformation(ExceptionInformation) - Method in class org.cache2k.core.Entry
 
setTask(SimpleTask) - Method in class org.cache2k.core.Entry
 
setTemplates(ParsedConfiguration) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
setTiming(TimingHandler<K, V>) - Method in class org.cache2k.core.HeapCache
 
setType(String) - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
setUntil(long) - Method in class org.cache2k.core.ExceptionWrapper
 
setValue(String) - Method in interface org.cache2k.impl.xmlConfiguration.ConfigurationTokenizer.Property
Value is mutable for variable expansion
setVersion(String) - Method in class org.cache2k.impl.xmlConfiguration.ConfigurationContext
 
sharpExpirySafetyGapMillis - Variable in class org.cache2k.core.HeapCache.Tunable
When sharp expiry is enabled, the expiry timer goes before the actual expiry to switch back to a time checking scheme when the cache is accessed.
shortCircuit() - Method in class org.cache2k.core.Entry
 
shouldInclude(Object) - Method in interface org.cache2k.core.storageApi.CacheStorage.EntryFilter
 
shouldStop() - Method in interface org.cache2k.core.storageApi.CacheStorage.MultiThreadedContext
True if the operation should stop immediately.
shutdown() - Method in class org.cache2k.core.storageApi.StorageAdapter
 
shutdown() - Method in class org.cache2k.core.TimingHandler
Cancels all pending timer events.
SimpleTask - Class in org.cache2k.core.util
 
SimpleTask() - Constructor for class org.cache2k.core.util.SimpleTask
Creates a new timer task.
SimpleTimer - Class in org.cache2k.core.util
Copy from Timer to work on top of the InternalClock interface.
SimpleTimer(InternalClock, String, boolean) - Constructor for class org.cache2k.core.util.SimpleTimer
Creates a new timer whose associated thread has the specified name, and may be specified to run as a daemon.
SINGLETON - Static variable in class org.cache2k.core.operation.Operations
 
size() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
size() - Method in class org.cache2k.core.MapValueConverterProxy
 
skipStore() - Method in class org.cache2k.core.EntryAction
 
skipWritingForException() - Method in class org.cache2k.core.EntryAction
 
skipWritingNoWriter() - Method in class org.cache2k.core.EntryAction
 
sleep(long) - Method in class org.cache2k.core.util.ClockDefaultImpl
 
sleep(long) - Method in class org.cache2k.core.util.ForwardingClock
 
sleep(long) - Method in interface org.cache2k.core.util.InternalClock
Wait for the specified amount of time in milliseconds.
sleep(long) - Method in class org.cache2k.core.util.RangeCheckClock
 
SourceLocation - Interface in org.cache2k.impl.xmlConfiguration
Common interface for parts with a source location.
STANDARD_DEFAULT_MANAGER_NAME - Static variable in class org.cache2k.core.Cache2kCoreProviderImpl
 
StandardCommonMetrics - Class in org.cache2k.core
 
StandardCommonMetrics() - Constructor for class org.cache2k.core.StandardCommonMetrics
 
StandardCommonMetricsFactory - Class in org.cache2k.core
Standard factory for metrics.
StandardCommonMetricsFactory() - Constructor for class org.cache2k.core.StandardCommonMetricsFactory
 
StandardExceptionPropagator - Class in org.cache2k.core
Standard behavior of the exception propagator.
StandardExceptionPropagator() - Constructor for class org.cache2k.core.StandardExceptionPropagator
 
StandardPropertyParser - Class in org.cache2k.impl.xmlConfiguration
 
StandardPropertyParser() - Constructor for class org.cache2k.impl.xmlConfiguration.StandardPropertyParser
 
StandardStorageMetrics - Class in org.cache2k.core
 
StandardStorageMetrics() - Constructor for class org.cache2k.core.StandardStorageMetrics
 
StandardVariableExpander - Class in org.cache2k.impl.xmlConfiguration
Lightweight and straight forward variable expansion.
StandardVariableExpander() - Constructor for class org.cache2k.impl.xmlConfiguration.StandardVariableExpander
 
start() - Method in class org.cache2k.core.AbstractEviction
 
start() - Method in interface org.cache2k.core.Eviction
Start concurrent eviction threads.
start(Progress<K, V, R>) - Method in class org.cache2k.core.operation.Semantic.MightUpdateExisting
 
start(Progress<K, V, R>) - Method in class org.cache2k.core.operation.Semantic.Read
Instruct to provide the cache content
start(Progress<K, V, R>) - Method in interface org.cache2k.core.operation.Semantic
Start of the operation.
start(Progress<K, V, R>) - Method in class org.cache2k.core.operation.Semantic.Update
Instruct to lock the entry for the update.
start(Progress<K, V, R>) - Method in class org.cache2k.core.operation.Semantic.UpdateExisting
Request latest data.
start() - Method in class org.cache2k.core.SegmentedEviction
 
startedTime - Variable in class org.cache2k.core.HeapCache
 
startProcessing() - Method in class org.cache2k.core.Entry
Starts long operation on entry.
startProcessing(int) - Method in class org.cache2k.core.Entry
 
startRefreshProbationTimer(Entry<K, V>, long) - Method in class org.cache2k.core.HeapCache
 
startRefreshProbationTimer(Entry<K, V>, long) - Method in class org.cache2k.core.TimingHandler
Start timer for expiring an entry on the separate refresh hash.
StaxConfigTokenizer - Class in org.cache2k.impl.xmlConfiguration
 
StaxConfigTokenizer(String, InputStream, String) - Constructor for class org.cache2k.impl.xmlConfiguration.StaxConfigTokenizer
 
StaxConfigTokenizer.Factory - Class in org.cache2k.impl.xmlConfiguration
 
stop() - Method in class org.cache2k.core.AbstractEviction
 
stop() - Method in interface org.cache2k.core.Eviction
Stop concurrent threads that may access the eviction data structures.
stop() - Method in class org.cache2k.core.SegmentedEviction
 
stopStartTimer(long, Entry<K, V>) - Method in class org.cache2k.core.TimingHandler
Convert expiry value to the entry field value, essentially maps 0 to Entry.EXPIRED since 0 is a virgin entry.
StorageAdapter - Class in org.cache2k.core.storageApi
 
StorageAdapter() - Constructor for class org.cache2k.core.storageApi.StorageAdapter
 
StorageAdapter.Parent - Interface in org.cache2k.core.storageApi
Implemented by a storage user, a cache or aggregator
StorageCallback - Interface in org.cache2k.core.storageApi
 
StorageEntry - Interface in org.cache2k.core.storageApi
 
StorageMetrics - Interface in org.cache2k.core
 
StorageMetrics.Dummy - Class in org.cache2k.core
 
StorageMetrics.Updater - Interface in org.cache2k.core
 
StorageReadException(Throwable) - Constructor for exception org.cache2k.core.EntryAction.StorageReadException
 
storageReadHit(StorageEntry) - Method in class org.cache2k.core.EntryAction
 
StorageWriteException(Throwable) - Constructor for exception org.cache2k.core.EntryAction.StorageWriteException
 
submit(Entry) - Method in class org.cache2k.core.AbstractEviction
 
submit(Entry) - Method in interface org.cache2k.core.Eviction
Submit to eviction for inserting or removing from the replacement list.
submit(Entry) - Method in class org.cache2k.core.SegmentedEviction
 
submitWithoutEviction(Entry) - Method in class org.cache2k.core.AbstractEviction
 
submitWithoutEviction(Entry) - Method in interface org.cache2k.core.Eviction
Submit to eviction for inserting or removing from the replacement list.
submitWithoutEviction(Entry) - Method in class org.cache2k.core.SegmentedEviction
 
suppressedException() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
suppressedException(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
suppressedException() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
suppressedException(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
suppressedException() - Method in class org.cache2k.core.StandardCommonMetrics
 
suppressedException(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
suppressExceptionUntil(K, ExceptionInformation, CacheEntry<K, V>) - Method in class org.cache2k.core.DefaultResiliencePolicy
 
suppressExceptionUntil(Entry<K, V>, ExceptionInformation) - Method in class org.cache2k.core.TimingHandler
Delegated to the resilience policy
SuppressionCounter() - Constructor for class org.cache2k.core.util.Log.SuppressionCounter
 

T

ThreadFactoryProvider - Interface in org.cache2k.core.concurrency
Provider interface for a thread factory.
threadFactoryProvider - Variable in class org.cache2k.core.HeapCache.Tunable
 
throwIfNeeded() - Method in class org.cache2k.core.IntegrityState
 
timeIsReached(long) - Method in interface org.cache2k.core.util.InternalClock.TimeReachedEvent
 
timerEvent() - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
timerEvent(long) - Method in class org.cache2k.core.CommonMetrics.BlackHole
 
timerEvent() - Method in interface org.cache2k.core.CommonMetrics.Updater
 
timerEvent(long) - Method in interface org.cache2k.core.CommonMetrics.Updater
 
timerEvent() - Method in class org.cache2k.core.StandardCommonMetrics
 
timerEvent(long) - Method in class org.cache2k.core.StandardCommonMetrics
 
timerEventExpireEntry(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
timerEventExpireEntry(Entry<K, V>) - Method in interface org.cache2k.core.InternalCache
 
timerEventExpireEntry(Entry<K, V>) - Method in class org.cache2k.core.WiredCache
 
timerEventProbationTerminated(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
timerEventProbationTerminated(Entry<K, V>) - Method in interface org.cache2k.core.InternalCache
 
timerEventProbationTerminated(Entry<K, V>) - Method in class org.cache2k.core.WiredCache
 
timerEventRefresh(Entry<K, V>) - Method in class org.cache2k.core.HeapCache
 
timerEventRefresh(Entry<K, V>) - Method in interface org.cache2k.core.InternalCache
 
timerEventRefresh(Entry<K, V>) - Method in class org.cache2k.core.WiredCache
 
timing() - Method in class org.cache2k.core.EntryAction
 
timing - Variable in class org.cache2k.core.HeapCache
 
TimingHandler<K,V> - Class in org.cache2k.core
Encapsulates logic for expiry times calculation and timer handling.
TimingHandler() - Constructor for class org.cache2k.core.TimingHandler
 
TimingHandler.Tunable - Class in org.cache2k.core
 
TokenizerFactory - Interface in org.cache2k.impl.xmlConfiguration
Construct a tokenizer to use.
toString() - Method in class org.cache2k.core.CacheManagerImpl
 
toString(HeapCache) - Method in class org.cache2k.core.Entry
 
toString() - Method in class org.cache2k.core.Entry
 
toString() - Method in class org.cache2k.core.ExceptionWrapper
 
toString() - Method in class org.cache2k.core.HeapCache
Return status information.
toString() - Method in class org.cache2k.core.util.SimpleTask
 
toString() - Method in class org.cache2k.core.WiredCache
 
toString() - Method in class org.cache2k.impl.xmlConfiguration.ParsedConfiguration
 
tryOptimisticRead() - Method in class org.cache2k.core.concurrency.NonOptimisticLock
This is a read access on the lock state for data visibility.
tryOptimisticRead() - Method in interface org.cache2k.core.concurrency.OptimisticLock
Returns a stamp that can later be validated, or zero if exclusively locked.
tryOptimisticRead() - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
Tunable() - Constructor for class org.cache2k.core.ClockProPlusEviction.Tunable
 
TUNABLE - Static variable in class org.cache2k.core.HeapCache
 
Tunable() - Constructor for class org.cache2k.core.HeapCache.Tunable
 
Tunable() - Constructor for class org.cache2k.core.TimingHandler.Tunable
 
TunableConstants - Class in org.cache2k.core.util
Base class of all classes that contain code constants.
TunableConstants() - Constructor for class org.cache2k.core.util.TunableConstants
 
TunableFactory - Class in org.cache2k.core.util
Provides an instance of a tunable after applying changes taken from configuration file or system properties.
TunableFactory() - Constructor for class org.cache2k.core.util.TunableFactory
 
TUNE_MARKER - Static variable in class org.cache2k.core.util.TunableFactory
 

U

UNCONDITIONAL_LOAD - Static variable in class org.cache2k.core.operation.Operations
 
unlockRead(long) - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
unlockRead(long) - Method in interface org.cache2k.core.concurrency.OptimisticLock
If the lock state matches the given stamp, releases the non-exclusive lock.
unlockRead(long) - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
unlockWrite(long) - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
unlockWrite(long) - Method in interface org.cache2k.core.concurrency.OptimisticLock
If the lock state matches the given stamp, releases the exclusive lock.
unlockWrite(long) - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
update(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.Read
No operation.
update(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in interface org.cache2k.core.operation.Semantic
Perform the mutation.
Update() - Constructor for class org.cache2k.core.operation.Semantic.Update
 
update(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.Update
Called to update the entry.
update(Progress<K, V, R>, ExaminationEntry<K, V>) - Method in class org.cache2k.core.operation.Semantic.UpdateExisting
Inspect the element state and issue and update of it.
updateDidNotTriggerDifferentMutationStoreLoadedValue() - Method in class org.cache2k.core.EntryAction
 
UpdateExisting() - Constructor for class org.cache2k.core.operation.Semantic.UpdateExisting
 
updateMutationStatistics() - Method in class org.cache2k.core.EntryAction
 
updateOnlyReadStatistics() - Method in class org.cache2k.core.EntryAction
 
Util - Class in org.cache2k.core.util
A set of utility stuff we need often.
Util() - Constructor for class org.cache2k.core.util.Util
 

V

validate(long) - Method in class org.cache2k.core.concurrency.NonOptimisticLock
Always false, optimistic locking not supported.
validate(long) - Method in interface org.cache2k.core.concurrency.OptimisticLock
Returns true if the lock has not been exclusively acquired since issuance of the given stamp.
validate(long) - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
ValueConverter<T> - Interface in org.cache2k.impl.xmlConfiguration
Parse and convert a string to an object.
values() - Method in class org.cache2k.core.ConcurrentMapWrapper
 
values() - Method in class org.cache2k.core.MapValueConverterProxy
 
valueType - Variable in class org.cache2k.core.HeapCache
 
VariableExpander - Interface in org.cache2k.impl.xmlConfiguration
Runs through all properties in the configuration, checks for variable references and expand them.
VariableExpander.ExpanderContext - Interface in org.cache2k.impl.xmlConfiguration
 
VariableExpander.NeedsExpansion - Exception in org.cache2k.impl.xmlConfiguration
 
VariableExpander.ValueAccessor - Interface in org.cache2k.impl.xmlConfiguration
 
visit(StorageEntry) - Method in interface org.cache2k.core.storageApi.CacheStorage.EntryVisitor
 
visit(CacheStorage.VisitContext, CacheStorage.EntryFilter, CacheStorage.EntryVisitor) - Method in interface org.cache2k.core.storageApi.CacheStorage
Iterate over all stored entries and call the entry visitor.

W

waitForProcessing() - Method in class org.cache2k.core.Entry
 
wantData() - Method in class org.cache2k.core.EntryAction
 
wantData() - Method in interface org.cache2k.core.operation.Progress
Requests that the cache content for an entry will be provided.
wantMutation() - Method in class org.cache2k.core.EntryAction
 
wantMutation() - Method in interface org.cache2k.core.operation.Progress
The entry gets locked for mutation.
warn(String) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
warn(String, Throwable) - Method in class org.cache2k.core.util.Log.SuppressionCounter
 
warn(String) - Method in class org.cache2k.core.util.Log
 
warn(String, Throwable) - Method in class org.cache2k.core.util.Log
 
WARNING - Static variable in interface org.cache2k.core.HealthInfoElement
 
WiredCache<K,V> - Class in org.cache2k.core
A cache implementation that builds on a heap cache and coordinates with additional attachments like storage, listeners and a writer.
WiredCache() - Constructor for class org.cache2k.core.WiredCache
 
write() - Method in interface org.cache2k.core.EventCounter
 
write(int) - Method in interface org.cache2k.core.EventCounter
 
write(K, V, AsyncCacheWriter.Callback, Executor) - Method in interface org.cache2k.core.experimentalApi.AsyncCacheWriter
 
writeLock() - Method in class org.cache2k.core.concurrency.NonOptimisticLock
 
writeLock() - Method in interface org.cache2k.core.concurrency.OptimisticLock
Exclusively acquires the lock, blocking if necessary until available.
writeLock() - Method in class org.cache2k.core.concurrency.OptimisticLockStamped
 
writer() - Method in class org.cache2k.core.EntryAction
Provide the writer, default null.

X

XppConfigTokenizer - Class in org.cache2k.impl.xmlConfiguration
 
XppConfigTokenizer.Factory - Class in org.cache2k.impl.xmlConfiguration
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links

cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.