Class 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 ScheduledExecutorService scheduler
      Deprecated.
       
      • Fields inherited from class org.infinispan.server.core.AbstractProtocolServer

        cacheManager, configuration, transport
    • 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 server
      io.netty.channel.ChannelInboundHandler getDecoder()
      Deprecated.
       
      io.netty.channel.ChannelOutboundHandler getEncoder()
      Deprecated.
       
      io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()
      Deprecated.
       
      protected void startInternal()
      Deprecated.
       
      void stop()
      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
    • Constructor Detail

      • MemcachedServer

        public MemcachedServer()
        Deprecated.
    • Method Detail

      • startInternal

        protected void startInternal()
        Deprecated.
        Overrides:
        startInternal in class org.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.
      • getCache

        public org.infinispan.Cache<byte[],​byte[]> getCache()
        Deprecated.
        Returns the cache being used by the Memcached server