@Configuration
@AutoConfigureOrder(value=-2147483648)
@ConditionalOnProperty(value="embedded.aerospike.enabled",
matchIfMissing=true)
@ConditionalOnClass(value=com.aerospike.client.AerospikeClient.class)
@EnableConfigurationProperties(value=AerospikeProperties.class)
public class EmbeddedAerospikeBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedAerospikeBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
aerospike(AerospikeWaitStrategy aerospikeWaitStrategy,
org.springframework.core.env.ConfigurableEnvironment environment,
AerospikeProperties properties) |
AerospikeWaitStrategy |
aerospikeStartupCheckStrategy(AerospikeProperties properties) |
public EmbeddedAerospikeBootstrapConfiguration()
@Bean @ConditionalOnMissingBean public AerospikeWaitStrategy aerospikeStartupCheckStrategy(AerospikeProperties properties)
@Bean(name="aerospike",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer aerospike(AerospikeWaitStrategy aerospikeWaitStrategy,
org.springframework.core.env.ConfigurableEnvironment environment,
AerospikeProperties properties)
Copyright © 2019. All rights reserved.