|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ConcurrentHashMap.KeySetView.add(K)
on each one.
int[]
) and
primitive wrapper arrays (like Integer[]
).XAResourceRegistry
implementation.T
Cache
when the CacheLoaderWriter
it uses threw an
RuntimeException
while bulk loading values for a given set of keysCache
when the CacheLoaderWriter
it uses threw an
exception while bulk writing / removing values for a given set of keysSet
keys
argument, using the remappingFunction
to compute the value.
Set
keys
argument, using the remappingFunction
to compute the value.
Set
keys
argument using the mappingFunction
to compute the value.
Cache
.Cache
.cause
passed in.
cause
passed in and with the provided message.
Status.AVAILABLE
, but wasn't yet made available
to other threads by the CacheManager
.
Cache
operation.Service
that will facilitate CacheEventDispatcher
instanceCacheEvent
s.CacheEvent
system in a cache.Cache
instance and will be used to keep it
in sync with another system.Service
that will create CacheLoaderWriter
instances for a given Cache
managed by a CacheManager
The CacheManager
will request an instance of this Class prior to creating any
Cache
instances.Cache
when the CacheLoaderWriter
it uses threw an
Exception
while loading a value for a given key.Cache
as well as associated Service
EhcacheManager
PersistentCacheManager
.CacheManager
, but wasn't yet made
Status.UNINITIALIZED
.
Cache
.Cache
when the CacheLoaderWriter
it uses threw an
Exception
while writing a value for a given keycause
passed in
and with the provided message.
cause
passed in.
CacheLoaderWriter
or any
registered CacheEventListener
instances
This is not an atomic operation and can potentially be very expensive
Cache.clear()
fails due to an underlying store
failure.
Cache
instances managed by this CacheManager
, as well as all
Service
this instance provides to managed Cache
instances.
Status.AVAILABLE
to Status.UNINITIALIZED
Status.AVAILABLE
to Status.UNINITIALIZED
LifeCycled
instance that close the supplied closeable
upon lifecycle close.
XAStore
.thisSize
of this
unit to thatSize
of
thatUnit
.
null
if there is no current
mapping).
null
.
BiFunction
is invoked under appropriate lock scope
The pinning bit from the metadata, will be flipped (i.e.
BiFunction
is invoked under appropriate lock scope
The pinning bit from the metadata, will be flipped (i.e.
spliterator()
METHOD
OF THE keySet()
, values()
or
entrySet()
RETURNED OBJECTS.initialCapacity
) and
initial table density (loadFactor
).
initialCapacity
), table
density (loadFactor
), and number of concurrently
updating threads (concurrencyLevel
).
Set
of keys, in
which additions may optionally be enabled by mapping to a
common value.MethodUtils
.ConcurrentHashMap.containsValue(Object)
, and exists solely to ensure
full compatibility with class Hashtable
,
which supported this method prior to introduction of the
Java Collections framework.
Cache.containsKey(java.lang.Object)
fails due to an
underlying store failure, and the resultant cache load operation also fails.
true
if this map maps one or more keys to the
specified value.
amount
in unit
in to this unit.
Cache
in this CacheManager
according to the specified CacheConfiguration
.
CacheEntryType
CacheEventDispatcher
to be used by CacheManager
CacheIntegrationType
CacheIntegrationType.LoaderWriter
CacheIntegrationType.WriteBehind
CacheIntegrationType.WriteBehind.Batching
CacheManager
when a Cache
is being added to it.
CacheTemplateType
CacheType
JAXBElement
<
ConfigType
>
}
ConfigType
CopierType
CopierType.Copier
DiskStoreSettingsType
CacheEventListener
ExpiryType
ExpiryType.None
Copier
with the given parameters.
Serializer
with the given parameters.
ListenersType
ListenersType.Listener
PersistableResourceType
PersistenceType
ResourcesType
ResourceType
SerializerType
SerializerType.Serializer
ServiceType
ThreadPoolReferenceType
ThreadPoolsType
ThreadPoolsType.ThreadPool
TimeType
Copier
with the given parameters.
Serializer
with the given parameters.
TransactionManagerProvider
implementation.CacheEventListener
instance
CacheEventListener
instance
Cache
instance managed
by this CacheManager
TimeUnit
Duration
instance
org.jsr107.tck.management.agentId
system property so that the TCK can precisely identify the correct
MBeanServer when running tests.XAException
allowing construction of message, errorCode and throwable.XAResource
implementation.Class
array.
Object
array.
Set
view of the mappings contained in this map.
ResourceUnit
to represent entries count.EvictionVeto
and EvictionPrioritizer
instances.EvictionPrioritizer
instances.Comparator
used to prioritize eviction between cache entries.Predicate
used to veto eviction of cache entries.Expiry
instances.Cache
EventType
an event has to be fired
firing mode
to use
null
if this map contains no mapping for the key.
ValueHolder
to
which the specified key is mapped, or null
if this store contains no
mapping for the key or if it was evicted (or became expired) since it was
initially installed.
Cache.getAll(java.util.Set)
fails on a cache
without a cache loader due to an underlying store failure.
Cache.getAll(java.util.Set)
fails on a cache
with a cache loader due to an underlying store failure.
Cache.getAll(java.util.Set)
fails on a cache
with a cache loader due to an underlying store failure, and the associated
cache write operation also failed.
Duration.getTimeUnit()
this instance represents
null
if batching is not enabled.
Cache
associated with the given alias, if one is known.
CacheConfiguration
, used to create the named Cache
managed by a CacheManager
SharedManagementService
.
ClassLoader
for this cache.
ClassLoader
to be associated with the CacheManager
List
CacheConfigurationChangeListener
defined in the Store
ManagementProvider
type.
EvictionPrioritizer
comparator.
EvictionVeto
predicate function.
expiration policy
instance for the Cache
.
Cache
Cache
Cache
NOTE: Some cache configurations (eg.
Cache.get(java.lang.Object)
fails on a cache without
a cache loader due to an underlying store failure.
Cache.get(java.lang.Object)
fails on a cache with a
cache loader due to an underlying store failure.
Cache.get(java.lang.Object)
fails on a cache with a
cache loader due to an underlying store failure.
Exception
encountered
Exception
encountered
key
that ValueHolder is mapped to should to be
unique at a given time.
Collection
of keys modified by a transaction still in-doubt.
Journal
implementation.
type
of the keys that a Store will hold.
null
if additions are not supported.
ResourcePool
based on its type.
resource pools
the Cache
can make use of.
ResourceType
of all the pools present in the ResourcePools
CacheRuntimeConfiguration
associated with this Cache instance.
RuntimeConfiguration
used by this CacheManager
Service
of the serviceType
.
CacheManager
and
its Cache
instances
Status
for this CacheManager
Status
for this CacheManager
TimeSource
configured.
TimeSource
that is configured
TimeUnit
of this instance
TransactionManagerWrapper
.
type
of the values that a Store will hold.
Map
, i.e.,
the sum of, for each key-value pair in the map,
key.hashCode() ^ value.hashCode()
.
Status.AVAILABLE
, starting all
Service
instances managed by this CacheManager
, as well
as all Cache
pre registered with it.
Status.AVAILABLE
.
Status.AVAILABLE
, starting all
Service
instances managed by this CacheManager
, as well
as all Cache
pre registered with it.
Status.UNINITIALIZED
to Status.AVAILABLE
Status.UNINITIALIZED
to Status.AVAILABLE
Status.AVAILABLE
.
Class
can be assigned to a variable of
another Class
.
Class
can be assigned to a variable of
another Class
.
null
.
null
arrays as length 0
.
java.specification.version
System Property.
Journal
implementations.Set
view of the keys contained in this map.
Set
view of the keys in this map, using the
given common mapped value for any additions (i.e., Collection.add(E)
and Collection.addAll(Collection)
).
Cache
or
CacheManager
instances.LifeCycled
in case you do not need to implement all methods from the interface.Cache
using this
CacheLoaderWriter
instance.
Cache
using this
CacheLoaderWriter
instance.
ManagementRegistry
.ResourceUnit
to represent memory consumption.CacheConfigurationBuilder
seeded with the cache-template configuration
by the given name
in the XML configuration parsed using XmlConfiguration.parseConfiguration()
CacheConfigurationBuilder
seeded with the cache-template configuration
by the given name
in the XML configuration parsed using XmlConfiguration.parseConfiguration()
Set
backed by a ConcurrentHashMap
from the given type to Boolean.TRUE
.
Set
backed by a ConcurrentHashMap
from the given type to Boolean.TRUE
.
Expiry
instance for a non expiring (ie.
EvictionVeto
where no mappings are vetoed from eviction.
null
;
otherwise throwing an exception with the specified message.
null
reference to an empty one.
null
reference to an empty one.
XAResourceRegistry
implementation.CacheEvent
matching the EventType
constrain used
when the listener was registered.
org.ehcache.spi.cache.Store
operation..
org.ehcache.spi.cache.Store
operation..
ordering mode
to use
Cache
configuration classesResourceUnit
implementationsCache
related eventsCache
related exceptionsCache
Cache
CacheManager
servicesCache
data that outlive the JVM's process existence.Journal
implementation.UserManagedCache
that holds data that outlives the JVM's processPredicate
instances.Cache.putAll(java.util.Map)
fails due to an
underlying store failure.
Cache.putAll(java.util.Map)
fails due to an
underlying store failure, and the associated cache write operation also
failed.
Cache.put(java.lang.Object, java.lang.Object)
fails
due to an underlying store failure.
Cache.put(java.lang.Object, java.lang.Object)
fails
due to an underlying store failure, and the associated cache write
operation also failed.
Cache.putIfAbsent(java.lang.Object, java.lang.Object)
fails due to an underlying store failure.
Cache.putIfAbsent(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache write
operation also failed.
Cache.putIfAbsent(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache load
operation also failed.
CacheEventListener
on the cache
CacheEventListener
on the cache
XAResource
with a JTA implementation.
CacheManager
to release all CacheEventListener
listeners registered with CacheEventDispatcher
CacheManager
when a Cache
is being removed from it.
CacheEventListener
Serializer
instance
CacheManager
when a Cache
is being removed from it.
Cache.removeAll(java.util.Set)
fails due to an
underlying store failure.
Cache.removeAll(java.util.Set)
fails
due to an underlying store failure, and the associated cache write
operation also failed.
Cache
associated with the alias provided, if oe is known.
Cache.remove(java.lang.Object)
fails due to an
underlying store failure.
Cache.remove(java.lang.Object)
fails
due to an underlying store failure, and the associated cache write
operation also failed.
Cache.remove(java.lang.Object, java.lang.Object)
fails due to an underlying store failure.
Cache.remove(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache write
operation also failed.
Cache.remove(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache load
operation also failed.
oldValue
, then replace that value with newValue
.
Cache.replace(java.lang.Object, java.lang.Object)
fails due to an underlying store failure.
Cache.replace(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache write
operation also failed.
Cache.replace(java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache load
operation also failed.
Cache.replace(java.lang.Object, java.lang.Object, java.lang.Object)
fails due to an underlying store failure.
Cache.replace(java.lang.Object, java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache write
operation also failed.
Cache.replace(java.lang.Object, java.lang.Object, java.lang.Object)
fails due to an underlying store failure, and the associated cache load
operation also failed.
resource pools
a cache has at its disposal to store its mappings.ResilienceStrategy
instances can be plugged-in.SerializableXid
, copying the format ID, GTRID and BQUAL of an existing Xid
.
Serializer
for a given type.SerializationProvider
in order to control
the creation of a Serializer
.Cache
when a store cannot serialize or deserialize a value.CacheManager
managed service.Service
.Service
.Service
implementation to declare a dependency on other Service
s.Service
instances, that can be used to
look them up by type.ManagementRegistry
which can be used across several CacheManager
.SoftLock
s are the value containers stored in the underlying store by the XAStore
.Copier
that is responsible for copying a SoftLock
containing a value.Serializer
that is responsible for serializing a SoftLock
containing a value.ServiceProvider
.
Cache
instance requires to be able to store
Cache entries (i.e.Command
implementation representing an eviction.Command
implementation representing a put.Command
implementation representing a remove.TimeSource
that uses System.currentTimeMillis()
java.lang.System
.true
if the argument passes the predicate.
TimeSourceService
This configuration has to be applied at the CacheManager
level.TimeSource
to use.
TimeSource
to other services needing one.Expiry
instance for the given duration
Expiry
instance for the given duration
Object
in to an array of Class
objects.
PersistentCacheManager
PersistentUserManagedCache
TransactionManagerWrapper
instances.TransactionManager
implementation with added support for XAResource
registration.Journal
implementation.XAResource
from a JTA implementation.
Serializer
could not be created for a given type.CacheManager
, as such that needs to
have UserManagedCache.close()
invoked in order to release all its resources.Collection
view of the values contained in this map.
CacheAccessException
thrown by the XAStore
that is not handled by the
ResilienceStrategy
but used to throw a RuntimeException
to the user of the cache.XACacheAccessException
is thrown.XAResource
registration with TransactionManager
implementations.Store
implementation wrapping another Store
driven by a JTA
TransactionManager
using the XA 2-phase commit protocol.XAStore
Store.ValueHolder
implementation.Configuration
and CacheConfigurationBuilder
expressed
in a XML file that obeys the ehcache-core.xsd (todo link this to proper location, wherever this ends up being)url
url
and using the provided
classLoader
to load user types (e.g.
url
and using the provided
classLoader
to load user types (e.g.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |