Class SinglePortEndpointRouter
java.lang.Object
org.infinispan.server.core.AbstractProtocolServer<SinglePortRouterConfiguration>
org.infinispan.server.router.router.impl.singleport.SinglePortEndpointRouter
- All Implemented Interfaces:
org.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>,EndpointRouter
public class SinglePortEndpointRouter
extends org.infinispan.server.core.AbstractProtocolServer<SinglePortRouterConfiguration>
implements EndpointRouter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.server.router.router.EndpointRouter
EndpointRouter.Protocol -
Field Summary
Fields inherited from class org.infinispan.server.core.AbstractProtocolServer
adminEndpoint, cacheManager, configuration, server, transport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.group.ChannelMatcherio.netty.channel.ChannelInboundHandlerio.netty.channel.ChannelOutboundHandlerio.netty.channel.ChannelInitializer<io.netty.channel.Channel>getIp()Gets theEndpointRouter's IP address.GetsEndpointRouter.Protocolimplemented by thisEndpointRouter.voidstart(RoutingTable routingTable, org.infinispan.manager.EmbeddedCacheManager ecm) Starts theEndpointRouter.voidstop()Stops theEndpointRouter.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, startInternal, 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.router.router.EndpointRouter
getHost, getPort
-
Constructor Details
-
SinglePortEndpointRouter
-
-
Method Details
-
start
Description copied from interface:EndpointRouterStarts theEndpointRouter.- Specified by:
startin interfaceEndpointRouter- Parameters:
routingTable-RoutingTablefor supplyingRoutes.
-
stop
public void stop()Description copied from interface:EndpointRouterStops theEndpointRouter.- Specified by:
stopin interfaceEndpointRouter- Specified by:
stopin interfaceorg.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>- Overrides:
stopin classorg.infinispan.server.core.AbstractProtocolServer<SinglePortRouterConfiguration>
-
getIp
Description copied from interface:EndpointRouterGets theEndpointRouter's IP address.- Specified by:
getIpin interfaceEndpointRouter
-
getEncoder
public io.netty.channel.ChannelOutboundHandler getEncoder()- Specified by:
getEncoderin interfaceorg.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>
-
getDecoder
public io.netty.channel.ChannelInboundHandler getDecoder()- Specified by:
getDecoderin interfaceorg.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>
-
getChannelMatcher
public io.netty.channel.group.ChannelMatcher getChannelMatcher()- Specified by:
getChannelMatcherin interfaceorg.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>
-
getInitializer
public io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()- Specified by:
getInitializerin interfaceorg.infinispan.server.core.ProtocolServer<SinglePortRouterConfiguration>
-
getProtocol
Description copied from interface:EndpointRouterGetsEndpointRouter.Protocolimplemented by thisEndpointRouter.- Specified by:
getProtocolin interfaceEndpointRouter
-