public class GemFireMemcachedServer extends Object
Region
named "gemcached".
"gemcached" region is RegionShortcut.PARTITION
by default,
though a cache.xml can be provided to override region attributes.
This class has a Main method that can be used to
start the server.
Modifier and Type | Class and Description |
---|---|
static class |
GemFireMemcachedServer.Protocol
The protocol used by GemFireMemcachedServer
|
Modifier and Type | Field and Description |
---|---|
static String |
REGION_NAME
Name of the GemFire region in which data is stored, value id "gemcached"
|
static String |
version
version of gemcached server
|
Constructor and Description |
---|
GemFireMemcachedServer(int port)
Create an instance of the server. to start
the server
start() must be called. |
GemFireMemcachedServer(String bindAddress,
int port,
GemFireMemcachedServer.Protocol protocol)
Create an instance of the server. to start
the server
start() must be called. |
public static final String REGION_NAME
public static final String version
public GemFireMemcachedServer(int port)
start()
must be called.port
- the port on which the server listens
for new memcached client connections.public GemFireMemcachedServer(String bindAddress, int port, GemFireMemcachedServer.Protocol protocol)
start()
must be called.bindAddress
- the address on which the server listens
for new memcached client connections.port
- the port on which the server listens
for new memcached client connections.protocol
- the protocol that this server should understandGemFireMemcachedServer.Protocol
public void start()
public void shutdown()
public static void main(String[] args)
args
- Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.