@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=MemcachedServerConfiguration.class) public @interface EnableMemcachedServer
@Configuration
annotated class to start an embedded Memcached Server (Gemcached) service in the GemFire server/data node.
The Gemcached service implements the Memcached Server protocol enabling Memcached clients to connect to
and communicate with Pivotal GemFire or Apache Geode servers.Import
,
MemcachedServerConfiguration
Modifier and Type | Optional Element and Description |
---|---|
int |
port
If specified and is non-zero, sets the port number for an embedded Gemcached server
and starts the Gemcached server.
|
EnableMemcachedServer.MemcachedProtocol |
protocol
Sets the protocol used by an embedded Gemcached server.
|
public abstract int port
public abstract EnableMemcachedServer.MemcachedProtocol protocol
EnableMemcachedServer.MemcachedProtocol.ASCII
.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.