|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
ServiceConfiguration
to the returned builder.
ServiceConfiguration
that is produced by a Builder
.
CacheConfiguration
tied to the provided alias.
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
CacheConfiguration
.BaseCacheConfiguration
from the given parameters.
Store.ValueHolder
to indicate that a binary representation
of the value can be provided.XAResourceRegistry
implementation.CacheEventListenerConfiguration
this builder represents.
CacheManager
or a subtype of it and initializes it if requested.
CacheManager
or a subtype of it uninitialized.
PooledExecutionServiceConfiguration
ResourcePools
based on this builder's configuration.
UserManagedCache
, initializing it if requested.
UserManagedCache
.
WriteBehindConfiguration
WriteBehindConfiguration
T
CacheManagerBuilder
will build.
UserManagedCacheBuilder
will build.
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
.
CacheConfigurationBuilder
enables building CacheConfiguration
s using a fluent style.CacheConfigurationChangeEvent
s.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
interface for providing CacheEventDispatcher
s, consumed by
EhcacheManager
.CacheEvent
s.CacheEvent
system in a cache.CacheEventListenerConfigurationBuilder
enables building CacheEventListenerConfiguration
s using a
fluent style.CacheEvent
instances.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
CacheManagerBuilder
enables building cache managers using a fluent style.CacheManager
in a
CacheManagerBuilder
.CacheManager
Cache
related events, such as
addition and removal.CacheManager
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
CacheLoaderWriter
or any
registered CacheEventListener
instances
This is not an atomic operation and can potentially be very expensive
CacheLoaderWriter
or any
registered CacheEventListener
instances
This is not an atomic operation and can potentially be very expensive
CacheLoaderWriter
or any
registered CacheEventListener
instances
This is not an atomic operation and can potentially be very expensive
Store
.
ServiceConfiguration
s from the returned builder.
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
thisSize
of this
unit to thatSize
of
thatUnit
.
computeFunction
passing in the current mapping for key
and using the others functions
to specify some behaviours of the operation.
CacheEventListener
subclass configured
previously.
true
if this store contains the specified key
and the entry is not expired.
amount
in unit
in to this unit.
Cache
in this CacheManager
according to the specified CacheConfiguration
.
CacheEntryType
CacheEventDispatcher
to be used with a Cache
and provided
Store
.
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.
created
CacheEvent
.
CacheEventListenerConfiguration
implementationDefaultCacheEventListenerConfiguration
with the provided parameters.
DefaultCacheEventListenerConfiguration
with the provided parameters.
Configuration
.cache configurations
, class loader and
service configurations
.
CacheEventListener
instance
CacheEventListener
instance
Cache
instance managed
by this CacheManager
ResourceType.Core.DISK
pool.
ResourceType.Core.DISK
pool specifying persistence.
Serializer
for Double
type.TimeUnit
Duration
instance
Cache
interface when no CacheLoaderWriter
is involved.Ehcache
based on the provided parameters.
CacheManager
and PersistentCacheManager
Cache
interface when a CacheLoaderWriter
is involved.EhcacheWithLoaderWriter
based on the provided parameters.
XAException
allowing construction of message, errorCode and throwable.ResourceUnit
to represent entries count.EventOrdering
to the returned builder.
EvictionVeto
instance.evicted
CacheEvent
.
CacheLoadingException
and CacheWritingException
.Expiry
instances.expired
CacheEvent
.
Cache
EventType
an event has to be fired
EventType
an event has to be fired
EventFiring
to the returned builder.
firing mode
to use
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.
Duration.getTimeUnit()
this instance represents
null
if batching is not enabled.
ByteBuffer
containing the value in binary form
Cache
associated with the given alias, if one is known.
CacheConfiguration
, used to create the named Cache
managed by a CacheManager
CacheConfiguration
, used to create the named Cache
managed by a CacheManager
ClassLoader
for this cache.
ClassLoader
to be associated with the CacheManager
ClassLoader
for this cache.
ClassLoader
to be associated with the CacheManager
List
CacheConfigurationChangeListener
defined in the Store
ManagementProvider
type.
EvictionVeto
predicate function.
EvictionVeto
predicate function.
ServiceConfiguration
with type matching the class passed in.
ServiceConfiguration
s of type matching the class passed in.
expiration policy
instance for the Cache
.
expiration policy
instance for the Cache
.
Cache
Cache
Cache
NOTE: Some cache configurations (eg.
Exception
encountered
Exception
encountered
key
that ValueHolder is mapped to should to be
unique at a given time.
type
of the keys that a Store will hold.
type
of the keys that a Store will hold.
Logger
instance.
ExecutorService
instance that guarantees execution in submission order.
ResourcePool
based on its type.
ResourcePool
based on its type.
resource pools
the Cache
can make use of.
resource pools
the Cache
can make use of.
ResourceType
of all the pools present in the ResourcePools
ResourceType
of all the pools present in the ResourcePools
CacheRuntimeConfiguration
associated with this Cache instance.
RuntimeConfiguration
used by this CacheManager
CacheRuntimeConfiguration
associated with this Cache instance.
CacheRuntimeConfiguration
associated with this Cache instance.
CacheRuntimeConfiguration
associated with this Cache instance.
ScheduledExecutorService
instance.
Service
of the serviceType
.
CacheManager
and
its Cache
instances
CacheManager
and
its Cache
instances
Status
for this CacheManager
Status
for this CacheManager
Status
for this CacheManager
Status
for this CacheManager
Status
for this CacheManager
Store
used for the cache data.
Store
eventing system to allow configuration and registration of listeners.
TimeSource
that is configured
TimeUnit
of this instance
TransactionManagerWrapper
.
ExecutorService
instance.
type
of the values that a Store will hold.
type
of the values that a Store will hold.
ResourceType.Core.HEAP
pool.
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.AVAILABLE
.
Status.AVAILABLE
.
Status.UNINITIALIZED
to Status.AVAILABLE
Status.UNINITIALIZED
to Status.AVAILABLE
Status.AVAILABLE
.
Serializer
for Integer
type.Cache
and UserManagedCache
interfaces defining common methods used by
collaborators of Cache
implementations.Service
-facing version of a CacheManager
.Cache
.Cache
or
CacheManager
instances.LifeCycled
in case you do not need to implement all methods from the interface.SizeOfEngine
reaches one of the limits defined in configuration while sizing
the object on heap.Cache
using this
CacheLoaderWriter
instance.
Cache
using this
CacheLoaderWriter
instance.
Serializer
for Long
type.Service
interface that indicates that the service participates in maintenance modeManagementRegistryService
.ResourceUnit
to represent memory consumption.WriteBehindConfiguration
that supports batching.
CacheConfiguration
with key type <K>
and with value type
<V>
.
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()
CacheLoadingException
with the provided exception as cause.
CacheManager
based on the provided configuration
CacheManagerBuilder
CacheWritingException
with the provided exception as cause.
CacheEventListener
subclass and the EventType
s it
will listen to.
CacheEventListener
instance and the EventType
s it
will listen to.
CacheEventListener
subclass and the set of EventType
s
to listen to.
CacheEventListener
instance and the set of EventType
s
to listen to.
PooledExecutionServiceConfigurationBuilder
ResourcePoolsBuilder
.
ResourcePools
.
WriteBehindConfiguration
without batching support.
UserManagedCacheBuilder
.
Expiry
instance for a non expiring (ie.
EvictionVeto
where no mappings are vetoed from eviction.
ResourceType.Core.OFFHEAP
pool.
StoreEvent
.
CacheEvent
matching the EventType
constrain used
when the listener was registered.
ordering mode
to use
ordering mode
to use
Cache
configuration classesResourceUnit
implementationsEhcacheManager
and
Ehcache
.ResourcePoolsImpl
and DefaultConfiguration
.Store.Configuration
and related types.CacheManager
level like
CacheManagerListener
or the CacheEvent
subsystem like
CacheEventDispatcher
and StoreEventDispatcher
.enum
s representing operations statistics results.Cache
related eventsCache
related exceptionsCache
Cache
CacheManager
servicesResourceType
which is
persistable
.CacheManagerConfiguration
for a PersistentCacheManager
.
Cache
data that outlive the JVM's process existence.UserManagedCache
that holds data that outlives the JVM's processPersistentUserManagedCache
which is a cache with a persistent resource outside of a
CacheManager
.PersistentUserManagedCache
based on the provided parameters.
PooledExecutionServiceConfigurationBuilder
enables building configurations for an
ExecutionService
that is pool based using a fluent style.CacheEventListener
on the cache
CacheEventListener
on the cache
CacheEventListener
on the cache
XAResource
with a JTA implementation.
CacheEventDispatcher
, causing it to shutdown and release all
CacheEventListener
s registered with it.
CacheManager
when a Cache
is being removed from it.
CacheEventListener
Serializer
instance
CacheManager
when a Cache
is being removed from it.
removed
CacheEvent
.
ServiceConfiguration
from the returned builder.
CacheManagerListener.cacheRemoved(String, Cache)
notifications.
Cache
associated with the alias provided, if oe is known.
CacheConfiguration
tied to the provided alias.
oldValue
, then replace that value with newValue
.
oldValue
, then replace that value with newValue
.
oldValue
, then replace that value with newValue
.
oldValue
, then replace that value with newValue
.
CacheConfiguration
with a CacheRuntimeConfiguration
for the provided alias.
ServiceCreationConfiguration
of the same type on the returned builder.
ResourcePool
interface.resource pools
a cache has at its disposal to store its mappings.ResourcePoolsBuilder
enables building ResourcePools
configurations using a fluent style.ResourcePools
interface.Serializer
for a given type.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
.ServiceProvider
.
CacheManager
state transitions.Store
interface represents the backing storage of a Cache
.Store.Configuration
as used by EhcacheManager
in order
to prepare Store
creation.StoreConfigurationImpl
based on the provided parameters.
StoreConfigurationImpl
based on the provided parameters.
Store
operation.Store
level.Store
event filtersStore
operations are to record events.Store
eventing system.ServiceConfiguration
used by the EhcacheManager
to populate the ordered event
parallelism in the StoreConfigurationImpl
.Serializer
for String
type.TimeSource
that uses System.currentTimeMillis()
TimeSource
to other services needing one.Expiry
instance for the given duration
Expiry
instance for the given duration
PersistentUserManagedCache
PersistentCacheManager
PersistentUserManagedCache
TransactionManagerWrapper
instances.TransactionManager
implementation with added support for XAResource
registration.XAResource
from a JTA implementation.
Serializer
could not be created for a given type.updated
CacheEvent
.
CacheManager
, as such that needs to
have UserManagedCache.close()
invoked in order to release all its resources.UserManagedCacheBuilder
enables building UserManagedCache
s using a fluent style.UserManagedCache
in a
UserManagedCacheBuilder
.Service
instance to the returned builder.
ServiceCreationConfiguration
to the returned builder.
Service
to be made available to the returned builder.
ServiceCreationConfiguration
, to trigger a service loading and its configuration, to the returned
builder.
ResourcePools
merged with another ResourcePools
and validate that
the updates to the contained ResourcePool
s are legal.
ResourcePools
merged with another ResourcePools
and validate that
the updates to the contained ResourcePool
s are legal.
core resources
.
true
if the given key value pair should be vetoed from eviction.
CacheManager
subtype through a specific CacheManagerConfiguration
which
will optionally add configurations to the returned builder.
ResourcePool
of ResourceType
in the returned builder.
UserManagedCache
subtype through a specific UserManagedCacheConfiguration
which will optionally add configurations to the returned builder.
CacheConfiguration
linked to the specified alias to the returned builder.
CacheConfiguration
linked to the specified alias to the returned builder by
building it from the provided CacheConfigurationBuilder
.
ClassLoader
to the returned builder.
ClassLoader
, to use for non Ehcache types, to the returned builder
ClassLoader
, to load non Ehcache types, to the returned builder.
Copier
for the specified type to the returned builder.
OffHeapDiskStoreProviderConfiguration
, that specifies the thread pool to use, to the returned
builder.
CacheEventDispatcherFactoryConfiguration
, that specifies the thread pool to use, to the returned
builder.
SizeOfEngine
configuration, that limits the max object graph to
size, to the returned builder.
SizeOfEngine
configuration, that limits the max object size, to
the returned builder.
WriteBehindProviderConfiguration
, that specifies the thread pool to use, to the returned builder.
ServiceConfiguration
for the OffHeapDiskStore.Provider
indicating thread pool alias and write concurrency.
CacheEventDispatcher
to the returned builder.
CacheEventDispatcher
using the provided ExecutorService
to the returned builder.
CacheEventListenerConfiguration
based on the provided
CacheEventListenerConfigurationBuilder
to the returned builder.
CacheEventListenerConfiguration
to the returned builder.
ServiceConfiguration
for the CacheEventDispatcherFactory
specifying
the thread pool alias to use.
EvictionVeto
to the returned builder.
EvictionVeto
to the returned builder.
Expiry
configuration to the returned builder.
Expiry
configuration to the returned builder.
Copier
for the key on heap.
Copier
class for the key on heap.
Copier
to the returned builder.
Serializer
for cache keys to the configured builder.
Serializer
class for cache keys to the configured builder.
Serializer
to the returned builder.
key copying
using the key Serializer
to the returned builder.
CacheLoaderWriter
to the configured builder.
CacheLoaderWriter
configured through a class and optional constructor arguments to the configured
builder.
CacheLoaderWriter
to the returned builder.
StoreEventSourceConfiguration
with the specified ordered event parallelism
to the configured builder.
ResourcePools
to the returned builder.
ResourcePools
through a ResourcePoolsBuilder
to the returned builder.
ResourcePools
configuration to the returned builder.
ResourcePools
configuration based on the provided ResourcePoolsBuilder
to the returned builder.
Serializer
for the specified type to the returned builder.
DefaultSizeOfEngineConfiguration
with the specified object graph maximum size to the configured
builder.
DefaultSizeOfEngineProviderConfiguration
with the specified object graph maximum size to the configured
builder.
DefaultSizeOfEngineConfiguration
with the specified maximum mapping size to the configured
builder.
DefaultSizeOfEngineProviderConfiguration
with the specified maximum mapping size to the configured
builder.
Copier
for the value on heap.
Copier
class for the value on heap.
Copier
to the returned builder.
Serializer
for cache values to the configured builder.
Serializer
class for cache values to the configured builder.
Serializer
to the returned builder.
value copying
using the key Serializer
to the returned builder.
WriteBehindConfigurationBuilder
enables building WriteBehindConfiguration
s using a fluent style.WriteBehindConfigurationBuilder
for WriteBehindConfiguration
s that supports batchingWriteBehindConfigurationBuilder
for WriteBehindConfiguration
s without batching supportCacheAccessException
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.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 |