Package | Description |
---|---|
com.tangosol.coherence.config.builder |
Defines the typical runtime configuration builders for the Coherence
configuration object model.
|
com.tangosol.coherence.config.scheme |
Defines the Coherence configuration object model classes and interfaces for
Caching and Service Schemes.
|
com.tangosol.coherence.config.xml.processor |
Defines the Xml document Element and Attribute Processors for Coherence Cache
Configuration files.
|
com.tangosol.coherence.jcache |
Contains classes related to Coherence JCache.
|
com.tangosol.coherence.jcache.partitionedcache |
Contains classes related to partitioned cache implementation of Coherence JCache.
|
com.tangosol.coherence.rest |
Contains classes related to the Coherence REST API.
|
com.tangosol.coherence.rest.events | |
com.tangosol.coherence.rest.query |
Contains classes related to the Coherence REST pluggable query engine.
|
com.tangosol.net |
Contains basic cluster interfaces and factories.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
com.tangosol.net.management |
Contains classes related to the Coherence Management Framework.
|
com.tangosol.net.partition |
Contains interfaces and classes related to partitioned services.
|
com.tangosol.run.jca |
Contains classes providing Java 2 Connector Architecture functionality.
|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Method and Description |
---|---|
NamedCache |
NamedCacheBuilder.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
Modifier and Type | Method and Description |
---|---|
NamedCache |
WrapperCachingScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies) |
NamedCache |
PagedTopicStorageScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies) |
NamedCache |
NearScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
NamedCache |
ClassScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
NamedCache |
AbstractCachingScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
NamedCache |
CustomScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
NamedCache |
TransactionalScheme.realizeCache(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Realizes a
NamedCache (possibly "ensuring it") based on the state
of the builder, the provided ParameterResolver and MapBuilder
dependencies. |
Modifier and Type | Method and Description |
---|---|
NamedCache |
InitParamProcessor.CacheRefExpression.evaluate(com.tangosol.config.expression.ParameterResolver resolver)
Evaluates the
Expression to produce a value of type T. |
Modifier and Type | Field and Description |
---|---|
protected NamedCache |
AbstractCoherenceBasedCache.m_namedCache
The underlying
NamedCache that holds then entries for the CoherenceBasedCache . |
Modifier and Type | Method and Description |
---|---|
static void |
PartitionedCache.destroyCache(CoherenceBasedCacheManager mgr,
JCacheIdentifier id,
NamedCache namedCache)
Destroy a partitioned cache.
|
Modifier and Type | Field and Description |
---|---|
protected NamedCache |
CacheResource.m_cache
NamedCache wrapped by this resource.
|
protected NamedCache |
NamedQueryResource.m_cache
NamedCache wrapped by this resource.
|
protected NamedCache |
EntryResource.m_cache
NamedCache which stores the referenced entry.
|
protected NamedCache |
EntrySetResource.m_cache
Cache which stores the referenced entries.
|
Modifier and Type | Method and Description |
---|---|
protected CacheResource |
DefaultRootResource.instantiateCacheResource(NamedCache cache,
Class clzKey,
Class clzValue,
KeyConverter keyConverter,
QueryConfig queryConfig,
int cMaxResults)
Create an instance of
CacheResource . |
protected EntryResource |
CacheResource.instantiateEntryResource(NamedCache cache,
Object oKey,
Class clzValue)
Create an instance of
EntryResource for the specified resource
configuration. |
protected EntrySetResource |
CacheResource.instantiateEntrySetResource(NamedCache cache,
Set setKeys,
Class clzValue)
Create an instance of
EntrySetResource for the specified resource
configuration. |
NamedQueryResource |
CacheResource.instantiateNamedQueryResource(NamedCache cache,
NamedQuery query,
int cMaxResults)
Create an instance of
NamedQueryResource for the specified resource
configuration. |
Constructor and Description |
---|
CacheResource(NamedCache cache,
Class clzKey,
Class clzValue,
KeyConverter keyConverter,
QueryConfig queryConfig,
int cMaxResults)
Construct a new CacheResource.
|
EntryResource(NamedCache cache,
Object oKey,
Class clzValue)
Construct EntryResource.
|
EntrySetResource(NamedCache cache,
Set setKeys,
Class clzValue)
Construct an EntrySetResource.
|
NamedQueryResource(NamedCache cache,
NamedQuery query,
int cMaxResults)
Create a instance of NamedQueryResource.
|
Constructor and Description |
---|
MapEventOutput(NamedCache<K,V> cache,
boolean fLite)
Construct MapEventOutput instance.
|
Modifier and Type | Method and Description |
---|---|
<E> Collection<E> |
Query.execute(NamedCache cache,
ValueExtractor<Map.Entry,? extends E> extractor,
String sOrder,
int nStart,
int cResults)
Return the values that satisfy this query.
|
Set |
Query.keySet(NamedCache cache)
Return the keys that satisfy this query.
|
default Collection |
Query.values(NamedCache cache,
String sOrder,
int nStart,
int cResults)
Deprecated.
As of Coherence 12.2.1. Use
Query.execute(NamedCache, ValueExtractor, String, int, int) instead. |
Modifier and Type | Method and Description |
---|---|
default <C extends NamedCache<K,V>> |
NamedCache.as(Class<C> clzNamedCache)
Request a specific type of reference to a
NamedCache that this
NamedCache may additionally implement or support. |
Modifier and Type | Method and Description |
---|---|
NamedCache<K,V_FRONT> |
ViewBuilder.build()
Construct a
view of the NamedCache provided to this builder. |
NamedCache |
DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.CacheInfo info,
XmlElement xmlScheme,
ClassLoader loader)
Deprecated.
Ensures a cache for given scheme.
|
protected NamedCache |
DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.CacheInfo info,
XmlElement xmlScheme,
ClassLoader loader)
Deprecated.
Obtain the NamedCache reference for the cache service defined by the
specified scheme.
|
default NamedCache<Object,Object> |
CacheProvider.ensureCache(String sCacheName,
ClassLoader loader)
Deprecated.
Ensure an Object-based cache for the given name.
|
NamedCache |
WrapperCacheService.ensureCache(String sName,
ClassLoader loader)
Obtain a NamedCache interface that provides a view of resources shared
among members of a cluster.
|
NamedCache |
CacheService.ensureCache(String sName,
ClassLoader loader)
Obtain a NamedCache interface that provides a view of resources shared
among members of a cluster.
|
default <K,V> NamedCache<K,V> |
ConfigurableCacheFactory.ensureCache(String sCacheName,
ClassLoader loader)
Ensure an cache for the given name and classloader (using raw types).
|
<K,V> NamedCache<K,V> |
ConfigurableCacheFactory.ensureCache(String sCacheName,
ClassLoader loader,
NamedCache.Option... options)
Ensure an cache for the given name, classloader and options.
|
<K,V> NamedCache<K,V> |
ExtensibleConfigurableCacheFactory.ensureCache(String sCacheName,
ClassLoader loader,
NamedCache.Option... options) |
<K,V> NamedCache<K,V> |
DefaultConfigurableCacheFactory.ensureCache(String sCacheName,
ClassLoader loader,
NamedCache.Option... options)
Deprecated.
Ensure an cache for the given name, classloader and options.
|
default <K,V> NamedCache<K,V> |
ConfigurableCacheFactory.ensureTypedCache(String sCacheName,
ClassLoader loader,
TypeAssertion<K,V> assertion)
Ensure a cache for the given name satisfying the specified type assertion.
|
<K,V> NamedCache<K,V> |
CacheProvider.ensureTypedCache(String sCacheName,
ClassLoader loader,
TypeAssertion<K,V> assertion)
Deprecated.
Ensure a cache for the given name satisfying the specified type assertion.
|
static <K,V> NamedCache<K,V> |
CacheFactory.getCache(String sName)
Return an instance of an cache configured by the current ConfigurableCacheFactory
This helper method is a simple wrapper around the
ConfigurableCacheFactory.ensureCache(String, ClassLoader, NamedCache.Option...) |
static <K,V> NamedCache<K,V> |
CacheFactory.getCache(String sName,
ClassLoader loader)
Return an instance of a cache configured by the current ConfigurableCacheFactory
with a specific
ClassLoader no options. |
static <K,V> NamedCache<K,V> |
CacheFactory.getCache(String sName,
ClassLoader loader,
NamedCache.Option... options)
Return an instance of a cache configured by the current ConfigurableCacheFactory
with a specific
ClassLoader and NamedCache.Option s
This helper method is a simple wrapper around the
ConfigurableCacheFactory.ensureCache(String, ClassLoader, NamedCache.Option...) |
<K,V> NamedCache<K,V> |
Session.getCache(String sName,
NamedCache.Option... options)
|
static <K,V> NamedCache<K,V> |
CacheFactory.getCache(String sName,
NamedCache.Option... options)
Return an instance of an cache configured by the current ConfigurableCacheFactory,
using the specified
NamedCache.Option s. |
<K,V> NamedCache<K,V> |
CoherenceSession.getCache(String sName,
NamedCache.Option... options) |
NamedCache<K,V> |
AsyncNamedCache.getNamedCache()
Return the
NamedCache instance this AsyncNamedCache is
based on. |
static <K,V> NamedCache<K,V> |
CacheFactory.getTypedCache(String sCacheName,
ClassLoader loader,
TypeAssertion<K,V> assertion)
Return an instance of a cache with the given name satisfying the specified
TypeAssertion . |
static <K,V> NamedCache<K,V> |
CacheFactory.getTypedCache(String sCacheName,
TypeAssertion<K,V> assertion)
Return an instance of a cache with the given name satisfying the specified
TypeAssertion . |
Modifier and Type | Method and Description |
---|---|
protected static void |
ExtensibleConfigurableCacheFactory.checkPermission(NamedCache cache)
Check if the current user is allowed to "join" the cache.
|
protected static void |
DefaultConfigurableCacheFactory.checkPermission(NamedCache cache)
Deprecated.
Check if the current user is allowed to "join" the cache.
|
void |
ExtensibleConfigurableCacheFactory.destroyCache(NamedCache cache)
Release and destroy this instance of NamedCache.
|
void |
DefaultConfigurableCacheFactory.destroyCache(NamedCache cache)
Deprecated.
Release and destroy this instance of NamedCache.
|
void |
WrapperCacheService.destroyCache(NamedCache map)
Release and destroy the specified cache.
|
static void |
CacheFactory.destroyCache(NamedCache cache)
Releases and destroys the specified NamedCache.
|
void |
CacheService.destroyCache(NamedCache map)
Release and destroy the specified cache.
|
void |
ConfigurableCacheFactory.destroyCache(NamedCache<?,?> cache)
Release and destroy this instance of NamedCache.
|
static TransactionMap |
CacheFactory.getLocalTransaction(NamedCache map)
Factory method returning an instance of the TransactionMap that is
based on the specified NamedCache and is local to this JVM.
|
protected BundlingNamedCache |
DefaultConfigurableCacheFactory.instantiateBundlingNamedCache(NamedCache cache,
XmlElement xmlBundling)
Deprecated.
Create a BundlingNamedCache using the "operation-bundling" element.
|
protected NearCache |
DefaultConfigurableCacheFactory.instantiateNearCache(Map mapFront,
NamedCache mapBack,
int nStrategy)
Deprecated.
Construct an NearCache using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context,
ObservableMap mapInternal,
Map mapMisses,
CacheLoader loader,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context,
ObservableMap mapInternal,
Map mapMisses,
CacheLoader loader,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context,
ObservableMap mapInternal,
Map mapMisses,
CacheStore store,
boolean fReadOnly,
int cWriteBehindSeconds,
double dflRefreshAheadFactor,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
protected VersionedBackingMap |
DefaultConfigurableCacheFactory.instantiateVersionedBackingMap(BackingMapManagerContext context,
ObservableMap mapInternal,
Map mapMisses,
CacheStore store,
boolean fReadOnly,
int cWriteBehindSeconds,
double dflRefreshAheadFactor,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using the specified parameters.
|
protected VersionedNearCache |
DefaultConfigurableCacheFactory.instantiateVersionedNearCache(Map mapLocal,
NamedCache mapDist,
NamedCache mapVersion)
Deprecated.
Construct an VersionedNearCache using the specified parameters.
|
protected VersionedNearCache |
DefaultConfigurableCacheFactory.instantiateVersionedNearCache(Map mapLocal,
NamedCache mapDist,
NamedCache mapVersion)
Deprecated.
Construct an VersionedNearCache using the specified parameters.
|
protected void |
DefaultConfigurableCacheFactory.register(NamedCache cache,
String sContext)
Deprecated.
as of Coherence 3.7.1; use
MBeanHelper.registerCacheMBean(NamedCache, String) instead |
void |
ExtensibleConfigurableCacheFactory.releaseCache(NamedCache cache)
Release a cache and its associated resources.
|
void |
DefaultConfigurableCacheFactory.releaseCache(NamedCache cache)
Deprecated.
Release a cache and its associated resources.
|
void |
WrapperCacheService.releaseCache(NamedCache map)
Release local resources associated with the specified instance of the
cache.
|
static void |
CacheFactory.releaseCache(NamedCache cache)
Release local resources associated with the specified instance of the
cache.
|
void |
CacheService.releaseCache(NamedCache map)
Release local resources associated with the specified instance of the
cache.
|
void |
ConfigurableCacheFactory.releaseCache(NamedCache<?,?> cache)
Release a cache and its associated resources.
|
protected void |
ExtensibleConfigurableCacheFactory.releaseCache(NamedCache cache,
boolean fDestroy)
Release a cache managed by this factory, optionally destroying it.
|
protected void |
DefaultConfigurableCacheFactory.releaseCache(NamedCache cache,
boolean fDestroy)
Deprecated.
Release a cache managed by this factory, optionally destroying it.
|
Constructor and Description |
---|
ViewBuilder(NamedCache<K,V_BACK> cache)
Construct a new
ViewBuilder for the provided NamedCache . |
Constructor and Description |
---|
ViewBuilder(Supplier<NamedCache<K,V_BACK>> supplierNamedCache)
Construct a new
ViewBuilder for the provided NamedCache . |
Modifier and Type | Class and Description |
---|---|
class |
BundlingNamedCache
Bundling NamedCache implementation.
|
class |
ContinuousQueryCache<K,V_BACK,V_FRONT>
Create a materialized view of a
NamedCache using the Coherence
Continuous Query capability. |
class |
NearCache<K,V>
A "near cache" is a CachingMap whose front map is a size-limited and/or
auto-expiring local cache, and whose back map is a distributed cache.
|
class |
ReadonlyNamedCache<K,V>
A simple extension of the WrapperNamedCache implementation that shields all
content mutating operations such as put(), remove(), lock() etc.
|
class |
VersionedNearCache
Deprecated.
as of Coherence 3.2 all the functionality of this class has been
superceded by the NearCache implementation
|
class |
WrapperNamedCache<K,V>
A simple implementation of NamedCache interface built as a
wrapper around any Map implementation.
|
Modifier and Type | Method and Description |
---|---|
protected NamedCache |
ContinuousQueryCache.ensureConverters(NamedCache cache)
Instantiate the
converters necessary to support the processing mode that this
ContinuousQueryCache will be operating under. |
NamedCache<K,V> |
NearCache.getBackCache()
Obtain the NamedCache object that sits behind this NearCache.
|
NamedCache<K,V_BACK> |
ContinuousQueryCache.getCache()
Obtain the
NamedCache that this ContinuousQueryCache is based on. |
NamedCache |
VersionedBackingMap.getPersistentVersionCache()
Deprecated.
Get the cache of version info for the data stored in the persistent
store behind this backing map (and other related backing maps if this
is backing a distributed cache).
|
NamedCache |
VersionedBackingMap.getTransientVersionCache()
Deprecated.
Get the cache of version info for the data maintained in this
backing map (and other related backing maps if this is backing a
distributed cache).
|
NamedCache |
VersionedNearCache.getVersionCache()
Deprecated.
Obtain the NamedCache object that holds the version data.
|
Modifier and Type | Method and Description |
---|---|
protected NamedCache |
ContinuousQueryCache.ensureConverters(NamedCache cache)
Instantiate the
converters necessary to support the processing mode that this
ContinuousQueryCache will be operating under. |
protected boolean |
ContinuousQueryCache.isBinaryNamedCache(NamedCache cache)
Returns
true if provided cache is configured to use the
NullImplementation classloader which means
the values to/from from the cache will be Binary . |
Constructor and Description |
---|
BundlingNamedCache(NamedCache cache)
Construct a BundlingNamedCache based on the specified NamedCache.
|
ContinuousQueryCache(NamedCache<K,V_BACK> cache)
Create a locally materialized view of a
NamedCache using a Filter . |
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter)
Create a locally materialized view of a
NamedCache using a Filter. |
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter,
boolean fCacheValues)
Create a materialized view of a
NamedCache using a Filter. |
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter,
boolean fCacheValues,
MapListener<? super K,? super V_FRONT> listener,
ValueExtractor<? super V_BACK,? extends V_FRONT> transformer)
Construct the ContinuousQueryCache.
|
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter,
MapListener<? super K,? super V_FRONT> listener)
Create a materialized view of a
NamedCache using a Filter. |
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter,
MapListener<? super K,? super V_FRONT> listener,
ValueExtractor<? super V_BACK,? extends V_FRONT> transformer)
Create a materialized view of a
NamedCache using a Filter . |
ContinuousQueryCache(NamedCache<K,V_BACK> cache,
Filter filter,
ValueExtractor<? super V_BACK,? extends V_FRONT> transformer)
Create a locally materialized view of a
NamedCache using a Filter and
a transformer. |
NearCache(Map<K,V> mapFront,
NamedCache<K,V> mapBack)
Construct a NearCache, using a mapBack NamedCache as the
complete (back) storage and mapFront Map as a near (front)
storage using the
CachingMap.LISTEN_AUTO invalidation strategy. |
NearCache(Map<K,V> mapFront,
NamedCache<K,V> mapBack,
int nStrategy)
Construct a NearCache, using a mapBack NamedCache as the
complete (back) storage and mapFront Map as a near (front)
storage.
|
ReadonlyNamedCache(NamedCache<K,V> cache,
boolean fStrict)
Construct a NamedCache wrapper based on the specified map.
|
VersionedBackingMap(BackingMapManagerContext ctxService,
ObservableMap mapInternal,
Map mapMisses,
CacheLoader loader,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheLoader object.
|
VersionedBackingMap(BackingMapManagerContext ctxService,
ObservableMap mapInternal,
Map mapMisses,
CacheLoader loader,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheLoader object.
|
VersionedBackingMap(BackingMapManagerContext ctxService,
ObservableMap mapInternal,
Map mapMisses,
CacheStore store,
boolean fReadOnly,
int cWriteBehindSeconds,
double dflRefreshAheadFactor,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheStore object.
|
VersionedBackingMap(BackingMapManagerContext ctxService,
ObservableMap mapInternal,
Map mapMisses,
CacheStore store,
boolean fReadOnly,
int cWriteBehindSeconds,
double dflRefreshAheadFactor,
NamedCache mapVersionTransient,
NamedCache mapVersionPersist,
boolean fManageTransient)
Deprecated.
Construct a VersionedBackingMap using a CacheStore object.
|
VersionedNearCache(Map mapLocal,
NamedCache mapDist,
NamedCache mapVersion)
Deprecated.
Construct a VersionedNearCache.
|
VersionedNearCache(Map mapLocal,
NamedCache mapDist,
NamedCache mapVersion)
Deprecated.
Construct a VersionedNearCache.
|
Constructor and Description |
---|
ContinuousQueryCache(Supplier<NamedCache<K,V_BACK>> supplierCache)
Create a locally materialized view of a
NamedCache using a Filter . |
ContinuousQueryCache(Supplier<NamedCache<K,V_BACK>> supplierCache,
Filter filter)
Create a locally materialized view of a
NamedCache using a Filter . |
ContinuousQueryCache(Supplier<NamedCache<K,V_BACK>> supplierCache,
Filter filter,
boolean fCacheValues,
MapListener<? super K,? super V_FRONT> listener,
ValueExtractor<? super V_BACK,? extends V_FRONT> transformer,
ClassLoader loader)
Create a materialized view of a
NamedCache using a Filter . |
Modifier and Type | Method and Description |
---|---|
static void |
MBeanHelper.registerCacheMBean(NamedCache cache,
String sContext)
Register the specified NamedCache with the cluster registry.
|
static void |
MBeanHelper.unregisterCacheMBean(NamedCache cache,
String sContext)
Unregister all managed objects related to the given cache name and
context from the cluster registry.
|
Modifier and Type | Field and Description |
---|---|
protected NamedCache |
AbstractPartitionedIterator.m_cache
The cache to query from.
|
Constructor and Description |
---|
AbstractPartitionedIterator(Filter filter,
NamedCache cache,
PartitionSet setPids)
Create AbstractPartitionedIterator instance.
|
AbstractPartitionedIterator(Filter filter,
NamedCache cache,
PartitionSet setPids,
boolean fByMember,
boolean fRandom)
Create AbstractPartitionedIterator instance.
|
PartitionedIterator(NamedCache cache,
Filter filter,
PartitionSet setPids,
int nOptions)
Construct PartitionedIterator that will provide iteration of the
keys of the specified cache using the specified filter, but will
only query one partition or one member at a time.
|
Modifier and Type | Method and Description |
---|---|
NamedCache |
CacheAdapter.getDistributedCache(String sName,
ClassLoader loader)
Deprecated.
|
NamedCache |
CacheAdapter.getNamedCache(String sName,
ClassLoader loader)
Obtain an instance of a NamedCache.
|
NamedCache |
CacheAdapter.getNamedCache(String sName,
ClassLoader loader,
TransactionMap.Validator validator,
boolean fImmutable)
Obtain an instance of a NamedCache.
|
NamedCache |
CacheAdapter.getReplicatedCache(String sName,
ClassLoader loader)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
static class |
ConverterCollections.ConverterNamedCache<FK,TK,FV,TV>
A Converter NamedCache views an underlying NamedCache through a set of
key and value Converters.
|
Modifier and Type | Method and Description |
---|---|
NamedCache<FK,FV> |
ConverterCollections.ConverterNamedCache.getNamedCache()
Return the underlying NamedCache.
|
static <FK,FV,TK,TV> |
ConverterCollections.getNamedCache(NamedCache<FK,FV> cache,
Converter<FK,TK> convKeyUp,
Converter<TK,FK> convKeyDown,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Returns a Converter instance of NamedCache that converts between the raw/from
types to the desired/to types.
|
Modifier and Type | Method and Description |
---|---|
static <FK,FV,TK,TV> |
ConverterCollections.getNamedCache(NamedCache<FK,FV> cache,
Converter<FK,TK> convKeyUp,
Converter<TK,FK> convKeyDown,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Returns a Converter instance of NamedCache that converts between the raw/from
types to the desired/to types.
|
static <K,V,R> CompletableFuture<Map<K,R>> |
InvocableMapHelper.invokeAllAsync(NamedCache<K,V> cache,
Collection<? extends K> setKey,
int nOrderId,
InvocableMap.EntryProcessor<K,V,R> proc,
BiConsumer<? super Map<? extends K,? extends R>,? super Throwable>... continuations)
Invoke the specified EntryProcessor asynchronously.
|
static <K,V,R> CompletableFuture<Map<K,R>> |
InvocableMapHelper.invokeAllAsync(NamedCache<K,V> cache,
Collection<? extends K> setKey,
ToIntFunction<K> funcOrder,
InvocableMap.EntryProcessor<K,V,R> proc,
BiConsumer<? super Map<? extends K,? extends R>,? super Throwable>... continuations)
Invoke the specified EntryProcessor asynchronously.
|
static <K,V,R> CompletableFuture<R> |
InvocableMapHelper.invokeAsync(NamedCache<K,V> cache,
K key,
int nOrderId,
InvocableMap.EntryProcessor<K,V,R> proc,
BiConsumer<? super R,? super Throwable>... continuations)
Invoke the specified EntryProcessor asynchronously.
|
static <K,V,R> CompletableFuture<R> |
InvocableMapHelper.invokeAsync(NamedCache<K,V> cache,
K key,
InvocableMap.EntryProcessor<K,V,R> proc)
Deprecated.
As of Coherence 14.1.1, use enhanced
#invokeAsync(NamedCache, Object, int, EntryProcessor, BiConsumer[]) . |
static void |
ExternalizableHelper.reportIncompatibleSerializers(NamedCache cache,
String sService,
Serializer serializer)
Log the message explaining the serializer incompatibility between the
specified cache and a service.
|
Constructor and Description |
---|
ConverterCacheListener(NamedCache cache,
MapListener listener,
Converter convKey,
Converter convVal)
Constructor.
|
ConverterNamedCache(NamedCache<FK,FV> cache,
Converter<FK,TK> convKeyUp,
Converter<TK,FK> convKeyDown,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Constructor.
|