@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.hazelcast.core.HazelcastInstance.class) @ConditionalOnBean(value=com.hazelcast.core.HazelcastInstance.class) @ConditionalOnEnabledHealthIndicator(value="hazelcast") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=HazelcastAutoConfiguration.class) public class HazelcastHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<HazelcastHealthIndicator,com.hazelcast.core.HazelcastInstance>
Constructor and Description |
---|
HazelcastHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
hazelcastHealthIndicator(Map<String,com.hazelcast.core.HazelcastInstance> hazelcastInstances) |
createHealthIndicator, createHealthIndicator
public HazelcastHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="hazelcastHealthIndicator") public HealthIndicator hazelcastHealthIndicator(Map<String,com.hazelcast.core.HazelcastInstance> hazelcastInstances)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.