@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Import(value=RedisServerConfiguration.class) @UsesGemFireProperties public @interface EnableRedisServer
EnableRedisServer
annotation marks a Spring @Configuration
annotated Class
to embed the Redis service in this cluster member.
The Redis service implements the Redis server protocol enabling Redis clients to connect to and inter-operate with
Pivotal GemFire or Apache Geode.
However, the embedded Pivotal GemFire/Apache Geode Redis Service can be enabled/disabled externally
in application.properties by using the spring.data.gemfire.service.redis.enabled property
even when this Annotation
is present, thereby serving as a toggle.Annotation
,
Import
,
MemcachedServerConfiguration
Modifier and Type | Optional Element and Description |
---|---|
String |
bindAddress
Configures the Network bind-address on which the Redis server will accept connections.
|
int |
port
Configures the Network port on which the Redis server will listen for Redis client connections.
|
public abstract String bindAddress
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.