public class HazelcastClientCachingProvider extends Object implements javax.cache.spi.CachingProvider
CachingProvider
implementation. Its fully-qualified
class name can be used to request the client-side CachingProvider
implementation. Examples:
Caching.getCachingProvider(String)
:
CachingProvider clientSideCachingProvider =
Caching.getCachingProvider("com.hazelcast.client.cache.HazelcastClientCachingProvider");
javax.cache.spi.CachingProvider
system property
as specified in Caching
.
// alternatively, set the system property on the java command line:
// java -Djavax.cache.spi.CachingProvider=com.hazelcast.client.cache.HazelcastClientCachingProvider
System.setProperty("javax.cache.spi.CachingProvider", "com.hazelcast.client.cache.HazelcastClientCachingProvider");
CachingProvider clientSideCachingProvider = Caching.getCachingProvider();
Constructor and Description |
---|
HazelcastClientCachingProvider() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(ClassLoader classLoader) |
void |
close(URI uri,
ClassLoader classLoader) |
javax.cache.CacheManager |
getCacheManager() |
javax.cache.CacheManager |
getCacheManager(URI uri,
ClassLoader classLoader) |
javax.cache.CacheManager |
getCacheManager(URI uri,
ClassLoader classLoader,
Properties properties) |
ClassLoader |
getDefaultClassLoader() |
Properties |
getDefaultProperties() |
URI |
getDefaultURI() |
boolean |
isSupported(javax.cache.configuration.OptionalFeature optionalFeature) |
public javax.cache.CacheManager getCacheManager(URI uri, ClassLoader classLoader, Properties properties)
getCacheManager
in interface javax.cache.spi.CachingProvider
public ClassLoader getDefaultClassLoader()
getDefaultClassLoader
in interface javax.cache.spi.CachingProvider
public URI getDefaultURI()
getDefaultURI
in interface javax.cache.spi.CachingProvider
public Properties getDefaultProperties()
getDefaultProperties
in interface javax.cache.spi.CachingProvider
public javax.cache.CacheManager getCacheManager(URI uri, ClassLoader classLoader)
getCacheManager
in interface javax.cache.spi.CachingProvider
public javax.cache.CacheManager getCacheManager()
getCacheManager
in interface javax.cache.spi.CachingProvider
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface javax.cache.spi.CachingProvider
public void close(ClassLoader classLoader)
close
in interface javax.cache.spi.CachingProvider
public void close(URI uri, ClassLoader classLoader)
close
in interface javax.cache.spi.CachingProvider
public boolean isSupported(javax.cache.configuration.OptionalFeature optionalFeature)
isSupported
in interface javax.cache.spi.CachingProvider
Copyright © 2020 Hazelcast, Inc.. All rights reserved.