Class HazelcastBucket4jCacheConfiguration
java.lang.Object
com.giffing.bucket4j.spring.boot.starter.config.cache.hazelcast.HazelcastBucket4jCacheConfiguration
@Configuration @ConditionalOnClass(com.hazelcast.core.HazelcastInstance.class) @ConditionalOnBean(com.hazelcast.core.HazelcastInstance.class) @ConditionalOnMissingBean(AsyncCacheResolver.class) public class HazelcastBucket4jCacheConfiguration extends Object
Configures the asynchronous support for Hazelcast. The synchronous support of Hazelcast
is already provided by the
JCacheBucket4jConfiguration
. It uses the HazelcastInstance
to access the HazelcastInstance
to retrieve the cache.-
Constructor Summary
Constructors Constructor Description HazelcastBucket4jCacheConfiguration(com.hazelcast.core.HazelcastInstance hazelcastInstance)
-
Method Summary
Modifier and Type Method Description AsyncCacheResolver
hazelcastCacheResolver()
-
Constructor Details
-
HazelcastBucket4jCacheConfiguration
public HazelcastBucket4jCacheConfiguration(com.hazelcast.core.HazelcastInstance hazelcastInstance)
-
-
Method Details
-
hazelcastCacheResolver
-