Class RespServer

java.lang.Object
org.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
org.infinispan.server.resp.RespServer
All Implemented Interfaces:
AutoCloseable, org.infinispan.server.core.ProtocolServer<RespServerConfiguration>

public class RespServer extends org.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
Server that supports RESP protocol
Since:
14.0
Author:
William Burns
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.infinispan.commons.dataconversion.MediaType
     
    static final String
     

    Fields inherited from class org.infinispan.server.core.AbstractProtocolServer

    adminEndpoint, cacheManager, configuration, server, transport
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.infinispan.AdvancedCache<byte[],byte[]>
    Returns the cache being used by the Resp server
    io.netty.channel.group.ChannelMatcher
     
    org.infinispan.server.iteration.ExternalSourceIterationManager
     
    io.netty.channel.ChannelInboundHandler
     
    io.netty.channel.ChannelOutboundHandler
     
    io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
     
    org.infinispan.server.iteration.DefaultIterationManager
     
    org.infinispan.commons.time.TimeService
     
    void
    installDetector(io.netty.channel.Channel ch)
     
     
     
    protected void
     
    void
     

    Methods inherited from class org.infinispan.server.core.AbstractProtocolServer

    defaultCacheName, getBlockingManager, getCacheManager, getConfiguration, getEnclosingProtocolServer, getExecutor, getHost, getName, getPort, getQualifiedName, getServerStateManager, getTransport, isCacheIgnored, isTransportEnabled, registerMetrics, registerServerMBeans, setEnclosingProtocolServer, setServerManagement, start, startCaches, startTransport, unregisterMetrics, unregisterServerMBeans

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.server.core.ProtocolServer

    close
  • Field Details

    • RESP_SERVER_FEATURE

      public static final String RESP_SERVER_FEATURE
      See Also:
    • RESP_KEY_MEDIA_TYPE

      public static final org.infinispan.commons.dataconversion.MediaType RESP_KEY_MEDIA_TYPE
  • Constructor Details

    • RespServer

      public RespServer()
  • Method Details

    • startInternal

      protected void startInternal()
      Overrides:
      startInternal in class org.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
    • getEncoder

      public io.netty.channel.ChannelOutboundHandler getEncoder()
    • getDecoder

      public io.netty.channel.ChannelInboundHandler getDecoder()
    • getInitializer

      public io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()
    • getChannelMatcher

      public io.netty.channel.group.ChannelMatcher getChannelMatcher()
    • stop

      public void stop()
      Specified by:
      stop in interface org.infinispan.server.core.ProtocolServer<RespServerConfiguration>
      Overrides:
      stop in class org.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
    • getCache

      public org.infinispan.AdvancedCache<byte[],byte[]> getCache()
      Returns the cache being used by the Resp server
    • newHandler

      public Resp3Handler newHandler()
    • installDetector

      public void installDetector(io.netty.channel.Channel ch)
    • getIterationManager

      public org.infinispan.server.iteration.DefaultIterationManager getIterationManager()
    • getDataStructureIterationManager

      public org.infinispan.server.iteration.ExternalSourceIterationManager getDataStructureIterationManager()
    • getTimeService

      public org.infinispan.commons.time.TimeService getTimeService()
    • segmentSlotRelation

      public SegmentSlotRelation segmentSlotRelation()