|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ConcurrentHashMap.KeySetView.add(K)
on each one.
Class
- Copier
pair to this configuration object
Class
- Copier
pair to this configuration object
Serializer
mapping for the class serializableClass
Serializer
mapping for the class serializableClass
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.Store
eventing system, by providing the
StoreEventDispatcher
used to collect events and then produce
CacheEvent
s that can be consumed by CacheEventListener
s.Service
that will facilitate CacheEventDispatcher
instanceCacheEventDispatcher
implementation that shares a single ExecutorService
for unordered firing
between Cache
s of a given CacheManager
.CacheEvent
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.cause
passed in
and with the provided message.
cause
passed in.
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.
Serializer
for Char
type.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
CacheManager
when a Cache
is being added to it.
CacheLoaderWriterType
CacheLoaderWriterType.WriteBehind
CacheLoaderWriterType.WriteBehind.Batching
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
MemoryType
PersistableMemoryType
PersistenceType
ResourcesType
ResourceType
SerializerType
SerializerType.Serializer
ServiceType
SizeOfEngine
which will size objects
with maximum depth and maximum size
SizeofType
SizeofType.MaxObjectGraphSize
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
Serializer
for Double
type.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
instance.Expiry
instances.Cache
EventType
an event has to be fired
firing mode
to use
Serializer
for Float
type.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.
null
if this map contains no mapping for the key.
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
ClassLoader
for this cache.
ClassLoader
to be associated with the CacheManager
List
CacheConfigurationChangeListener
defined in the Store
ManagementProvider
type.
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.
ExecutorService
instance that guarantees execution in submission order.
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
ScheduledExecutorService
instance.
Service
of the serviceType
.
CacheManager
and
its Cache
instances
Status
for this CacheManager
Status
for this CacheManager
Store
eventing system to allow configuration and registration of listeners.
TimeSource
that is configured
TimeSource
configured.
TimeUnit
of this instance
TransactionManagerWrapper
.
ExecutorService
instance.
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
.
Serializer
for Integer
type.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.SizeOfEngine
reaches
the maximum limit defined in SizeOfEngineConfiguration
while sizing the object on heapCache
using this
CacheLoaderWriter
instance.
Cache
using this
CacheLoaderWriter
instance.
Serializer
for Long
type.ManagementRegistryService
.Function
in a apply once and only once Function.
BiFunction
in a apply once and only once BiFunction.
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.StoreEvent
.
CacheEvent
matching the EventType
constrain used
when the listener was registered.
Store
and HigherCachingTier
implementation for on heap.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 processCache.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
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.StoreEventSource
to enable eventing
ManagementRegistryService
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.Store
operation.Store
level.Store
event filtersStore
eventing system.Command
implementation representing an eviction.Command
implementation representing a put.Command
implementation representing a remove.Serializer
for String
type.TimeSource
that uses System.currentTimeMillis()
java.lang.System
.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.ResourcePools
merged with another ResourcePools
and validate that
the updates to the contained ResourcePool
s are legal.
Collection
view of the values contained in this map.
true
if the given key value pair should be vetoed from eviction.
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 |