@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.hazelcast.core.HazelcastInstance.class) @ConditionalOnBean(value=com.hazelcast.core.HazelcastInstance.class) @ConditionalOnEnabledHealthIndicator(value="hazelcast") @AutoConfigureAfter(value=HazelcastAutoConfiguration.class) public class HazelcastHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<HazelcastHealthIndicator,com.hazelcast.core.HazelcastInstance>
Constructor and Description |
---|
HazelcastHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
hazelcastHealthContributor(Map<String,com.hazelcast.core.HazelcastInstance> hazelcastInstances) |
createComposite
createContributor, createIndicator
public HazelcastHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"hazelcastHealthIndicator","hazelcastHealthContributor"}) public HealthContributor hazelcastHealthContributor(Map<String,com.hazelcast.core.HazelcastInstance> hazelcastInstances)