public final class HazelcastClientCachingProvider extends AbstractHazelcastCachingProvider
CachingProvider
implementation.defaultClassLoader, defaultURI, hazelcastInstance, INVALID_HZ_INSTANCE_SPECIFICATION_MESSAGE, LOGGER, SUPPORTED_SCHEMES
Constructor and Description |
---|
HazelcastClientCachingProvider() |
Modifier and Type | Method and Description |
---|---|
protected HazelcastClientCacheManager |
createCacheManager(HazelcastInstance instance,
URI uri,
ClassLoader classLoader,
Properties properties) |
static HazelcastClientCachingProvider |
createCachingProvider(HazelcastInstance hazelcastInstance)
Helper method for creating caching provider for testing etc.
|
protected ClientConfig |
getConfigFromLocation(String location,
ClassLoader classLoader,
String instanceName) |
protected ClientConfig |
getConfigFromLocation(URI uri,
ClassLoader classLoader,
String instanceName) |
protected HazelcastInstance |
getOrCreateInstance(URI uri,
ClassLoader classLoader,
Properties properties) |
String |
toString() |
close, close, close, createHazelcastCacheManager, getCacheManager, getCacheManager, getCacheManager, getDefaultClassLoader, getDefaultProperties, getDefaultURI, getManagerClassLoader, getManagerUri, isConfigLocation, isSupported, shutdownHazelcastInstance
public static HazelcastClientCachingProvider createCachingProvider(HazelcastInstance hazelcastInstance)
protected HazelcastClientCacheManager createCacheManager(HazelcastInstance instance, URI uri, ClassLoader classLoader, Properties properties)
createCacheManager
in class AbstractHazelcastCachingProvider
protected HazelcastInstance getOrCreateInstance(URI uri, ClassLoader classLoader, Properties properties) throws URISyntaxException, IOException
getOrCreateInstance
in class AbstractHazelcastCachingProvider
URISyntaxException
IOException
protected ClientConfig getConfigFromLocation(String location, ClassLoader classLoader, String instanceName) throws URISyntaxException, IOException
URISyntaxException
IOException
protected ClientConfig getConfigFromLocation(URI uri, ClassLoader classLoader, String instanceName) throws URISyntaxException, IOException
URISyntaxException
IOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.