Package org.infinispan.server.resp
Class RespServer
java.lang.Object
org.infinispan.server.core.AbstractProtocolServer<RespServerConfiguration>
org.infinispan.server.resp.RespServer
- All Implemented Interfaces:
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
FieldsFields 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.ChannelMatcherio.netty.channel.ChannelInboundHandlerio.netty.channel.ChannelOutboundHandlerio.netty.channel.ChannelInitializer<io.netty.channel.Channel>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, unregisterServerMBeans
-
Field Details
-
RESP_SERVER_FEATURE
- See Also:
-
-
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
-