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
-
-
Constructor Summary
Constructors Constructor Description SinglePortEndpointRouter(SinglePortRouterConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.channel.group.ChannelMatchergetChannelMatcher()io.netty.channel.ChannelInboundHandlergetDecoder()io.netty.channel.ChannelOutboundHandlergetEncoder()io.netty.channel.ChannelInitializer<io.netty.channel.Channel>getInitializer()InetAddressgetIp()Gets theEndpointRouter's IP address.EndpointRouter.ProtocolgetProtocol()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, 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.router.router.EndpointRouter
getHost, getPort
-
-
-
-
Constructor Detail
-
SinglePortEndpointRouter
public SinglePortEndpointRouter(SinglePortRouterConfiguration configuration)
-
-
Method Detail
-
start
public void start(RoutingTable routingTable, org.infinispan.manager.EmbeddedCacheManager ecm)
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
public InetAddress 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
public EndpointRouter.Protocol getProtocol()
Description copied from interface:EndpointRouterGetsEndpointRouter.Protocolimplemented by thisEndpointRouter.- Specified by:
getProtocolin interfaceEndpointRouter
-
-