public abstract class SingleCacheCacheResolver extends Object
CacheResolver
implementation that resolves to a configured, single GemFireCache
instance.Cache
,
GemFireCache
,
ClientCache
Constructor and Description |
---|
SingleCacheCacheResolver() |
Modifier and Type | Method and Description |
---|---|
static CacheResolver<org.apache.geode.cache.Cache> |
from(org.apache.geode.cache.Cache cache)
Factory method used to resolve a single, configured instance of a peer
Cache . |
static CacheResolver<org.apache.geode.cache.client.ClientCache> |
from(org.apache.geode.cache.client.ClientCache clientCache)
Factory method used to resolve a single, configured instance of a peer
ClientCache . |
public static CacheResolver<org.apache.geode.cache.Cache> from(@Nullable org.apache.geode.cache.Cache cache)
Cache
.cache
- Cache
to resolve.Cache
.CacheResolver
,
Cache
public static CacheResolver<org.apache.geode.cache.client.ClientCache> from(@Nullable org.apache.geode.cache.client.ClientCache clientCache)
ClientCache
.clientCache
- ClientCache
to resolve.ClientCache
.CacheResolver
,
ClientCache
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.