Package org.infinispan.server.resp
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
FieldsModifier and TypeFieldDescriptionstatic final org.infinispan.commons.dataconversion.MediaTypestatic final StringFields inherited from class org.infinispan.server.core.AbstractProtocolServer
adminEndpoint, cacheManager, configuration, server, transport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.AdvancedCache<byte[], byte[]> getCache()Returns the cache being used by the Resp serverio.netty.channel.group.ChannelMatcherorg.infinispan.server.iteration.ExternalSourceIterationManagerio.netty.channel.ChannelInboundHandlerio.netty.channel.ChannelOutboundHandlerio.netty.channel.ChannelInitializer<io.netty.channel.Channel> org.infinispan.server.iteration.DefaultIterationManagerorg.infinispan.commons.time.TimeServicevoidinstallDetector(io.netty.channel.Channel ch) protected voidvoidstop()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, unregisterServerMBeansMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.server.core.ProtocolServer
close
-
Field Details
-
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:
startInternalin classorg.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:
stopin interfaceorg.infinispan.server.core.ProtocolServer<RespServerConfiguration>- Overrides:
stopin classorg.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
-
getCache
public org.infinispan.AdvancedCache<byte[],byte[]> getCache()Returns the cache being used by the Resp server -
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
-