Package org.infinispan.server.memcached
Class MemcachedServer
- java.lang.Object
-
- org.infinispan.server.core.AbstractProtocolServer<MemcachedServerConfiguration>
-
- org.infinispan.server.memcached.MemcachedServer
-
- All Implemented Interfaces:
org.infinispan.server.core.ProtocolServer<MemcachedServerConfiguration>
@Deprecated public class MemcachedServer extends org.infinispan.server.core.AbstractProtocolServer<MemcachedServerConfiguration>
Deprecated.since 10.1. Will be removed unless a binary protocol encoder/decoder is implemented.Memcached server defining its decoder/encoder settings. In fact, Memcached does not use an encoder since there's no really common headers between protocol operations.- Since:
- 4.1
- Author:
- Galder ZamarreƱo
-
-
Field Summary
Fields Modifier and Type Field Description protected ScheduledExecutorServiceschedulerDeprecated.
-
Constructor Summary
Constructors Constructor Description MemcachedServer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.Cache<byte[],byte[]>getCache()Deprecated.Returns the cache being used by the Memcached serverio.netty.channel.ChannelInboundHandlergetDecoder()Deprecated.io.netty.channel.ChannelOutboundHandlergetEncoder()Deprecated.io.netty.channel.ChannelInitializer<io.netty.channel.Channel>getInitializer()Deprecated.protected voidstartInternal()Deprecated.voidstop()Deprecated.-
Methods inherited from class org.infinispan.server.core.AbstractProtocolServer
defaultCacheName, getCacheIgnore, getCacheManager, getConfiguration, getExecutor, getHost, getName, getPort, getQualifiedName, getTransport, isCacheIgnored, isTransportEnabled, registerMetrics, registerServerMBeans, start, startCaches, startTransport, unregisterMetrics, unregisterServerMBeans
-
-
-
-
Field Detail
-
scheduler
protected final ScheduledExecutorService scheduler
Deprecated.
-
-
Method Detail
-
startInternal
protected void startInternal()
Deprecated.- Overrides:
startInternalin classorg.infinispan.server.core.AbstractProtocolServer<MemcachedServerConfiguration>
-
getEncoder
public io.netty.channel.ChannelOutboundHandler getEncoder()
Deprecated.
-
getDecoder
public io.netty.channel.ChannelInboundHandler getDecoder()
Deprecated.
-
getInitializer
public io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()
Deprecated.
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceorg.infinispan.server.core.ProtocolServer<MemcachedServerConfiguration>- Overrides:
stopin classorg.infinispan.server.core.AbstractProtocolServer<MemcachedServerConfiguration>
-
getCache
public org.infinispan.Cache<byte[],byte[]> getCache()
Deprecated.Returns the cache being used by the Memcached server
-
-