VMware GemFire Java API Reference
Package org.apache.geode.memcached
Class GemFireMemcachedServer
- java.lang.Object
-
- org.apache.geode.memcached.GemFireMemcachedServer
-
@Deprecated public class GemFireMemcachedServer extends java.lang.ObjectDeprecated.as of 10.2 as GemFireMemcachedServer is not used and maintained anymore. Will be removed in future major release.This is the Server that listens for incoming memcached client connections. This server understands the memcached ASCII protocol documented in memcached source control It then translates these commands to the corresponding GemFire commands, and stores the data in GemFire in aRegionnamed "gemcached"."gemcached" region is
RegionShortcut.PARTITIONby 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGemFireMemcachedServer.ProtocolDeprecated.The protocol used by GemFireMemcachedServer
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREGION_NAMEDeprecated.Name of the GemFire region in which data is stored, value id "gemcached"static java.lang.StringversionDeprecated.version of gemcached server
-
Constructor Summary
Constructors Constructor Description GemFireMemcachedServer(int port)Deprecated.as of 10.2GemFireMemcachedServer(java.lang.String bindAddress, int port, GemFireMemcachedServer.Protocol protocol)Deprecated.as of 10.2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Deprecated.voidshutdown()Deprecated.shuts down this server and closes the embedded GemFire caching nodevoidstart()Deprecated.Starts an embedded GemFire caching node, and then listens for new memcached client connections.
-
-
-
Field Detail
-
REGION_NAME
public static final java.lang.String REGION_NAME
Deprecated.Name of the GemFire region in which data is stored, value id "gemcached"- See Also:
- Constant Field Values
-
version
public static final java.lang.String version
Deprecated.version of gemcached server- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GemFireMemcachedServer
public GemFireMemcachedServer(int port)
Deprecated.as of 10.2Create an instance of the server. to start the serverstart()must be called.- Parameters:
port- the port on which the server listens for new memcached client connections.
-
GemFireMemcachedServer
public GemFireMemcachedServer(java.lang.String bindAddress, int port, GemFireMemcachedServer.Protocol protocol)Deprecated.as of 10.2Create an instance of the server. to start the serverstart()must be called.- Parameters:
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 understand- See Also:
GemFireMemcachedServer.Protocol
-
-
Method Detail
-
start
public void start()
Deprecated.Starts an embedded GemFire caching node, and then listens for new memcached client connections.
-
shutdown
public void shutdown()
Deprecated.shuts down this server and closes the embedded GemFire caching node
-
main
public static void main(java.lang.String[] args)
Deprecated.
-
-