Class SingleCacheCacheResolver
java.lang.Object
org.springframework.data.gemfire.support.SingleCacheCacheResolver
CacheResolver implementation that resolves to a configured, single GemFireCache instance.- Since:
- 2.3.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CacheResolver<Cache>Factory method used to resolve a single, configured instance of a peerCache.static CacheResolver<ClientCache>from(ClientCache clientCache) Factory method used to resolve a single, configured instance of a peerClientCache.
-
Constructor Details
-
SingleCacheCacheResolver
public SingleCacheCacheResolver()
-
-
Method Details
-
from
Factory method used to resolve a single, configured instance of a peerCache. -
from
Factory method used to resolve a single, configured instance of a peerClientCache.- Parameters:
clientCache-ClientCacheto resolve.- Returns:
- a single, configured instance of a peer
ClientCache. - See Also:
-