Class ItfLiteHazelCastCacheConfiguration
java.lang.Object
org.qubership.atp.itf.lite.backend.configuration.cache.ItfLiteHazelCastCacheConfiguration
@Configuration
@ConditionalOnProperty(value="spring.cache.hazelcast.client.enable",
havingValue="true")
public class ItfLiteHazelCastCacheConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cache.CacheManagerMandatory.com.hazelcast.core.HazelcastInstanceGenerates hazelcast instance client.
-
Constructor Details
-
ItfLiteHazelCastCacheConfiguration
public ItfLiteHazelCastCacheConfiguration()
-
-
Method Details
-
cacheManager
@Bean public org.springframework.cache.CacheManager cacheManager()Mandatory.- Returns:
- hazelcast cache manager
-
getHzInstance
public com.hazelcast.core.HazelcastInstance getHzInstance()Generates hazelcast instance client.- Returns:
- instance
-