public final class HazelcastServerCachingProvider extends AbstractHazelcastCachingProvider
This implementation is used by HazelcastCachingProvider
internally when server type is configured.
This implementation creates a new singleton hazelcastInstance node. This instance is provided into the created managers.
If you need to use your
already created HazelcastInstance, you can directly create a provider using
createCachingProvider(com.hazelcast.core.HazelcastInstance)
.
CachingProvider
defaultClassLoader, defaultURI, hazelcastInstance, LOGGER
Constructor and Description |
---|
HazelcastServerCachingProvider() |
Modifier and Type | Method and Description |
---|---|
static HazelcastServerCachingProvider |
createCachingProvider(HazelcastInstance hazelcastInstance)
Helper method for creating caching provider for testing, etc.
|
protected HazelcastServerCacheManager |
createHazelcastCacheManager(URI uri,
ClassLoader classLoader,
Properties properties) |
String |
toString() |
close, close, close, getCacheManager, getCacheManager, getCacheManager, getDefaultClassLoader, getDefaultProperties, getDefaultURI, getManagerClassLoader, getManagerUri, isSupported, shutdownHazelcastInstance
public static HazelcastServerCachingProvider createCachingProvider(HazelcastInstance hazelcastInstance)
hazelcastInstance
- protected HazelcastServerCacheManager createHazelcastCacheManager(URI uri, ClassLoader classLoader, Properties properties)
createHazelcastCacheManager
in class AbstractHazelcastCachingProvider
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.