Class HotRodEndpointRouter
- java.lang.Object
-
- org.infinispan.server.router.router.impl.hotrod.HotRodEndpointRouter
-
- All Implemented Interfaces:
EndpointRouter
public class HotRodEndpointRouter extends Object implements EndpointRouter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.server.router.router.EndpointRouter
EndpointRouter.Protocol
-
-
Constructor Summary
Constructors Constructor Description HotRodEndpointRouter(HotRodRouterConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Gets theEndpointRouter's host.InetAddressgetIp()Gets theEndpointRouter's IP address.IntegergetPort()Gets theEndpointRouter's port.EndpointRouter.ProtocolgetProtocol()GetsEndpointRouter.Protocolimplemented by thisEndpointRouter.voidstart(RoutingTable routingTable, org.infinispan.manager.EmbeddedCacheManager ecm)Starts theEndpointRouter.voidstop()Stops theEndpointRouter.
-
-
-
Constructor Detail
-
HotRodEndpointRouter
public HotRodEndpointRouter(HotRodRouterConfiguration 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
-
getHost
public String getHost()
Description copied from interface:EndpointRouterGets theEndpointRouter's host.- Specified by:
getHostin interfaceEndpointRouter
-
getIp
public InetAddress getIp()
Description copied from interface:EndpointRouterGets theEndpointRouter's IP address.- Specified by:
getIpin interfaceEndpointRouter
-
getPort
public Integer getPort()
Description copied from interface:EndpointRouterGets theEndpointRouter's port.- Specified by:
getPortin interfaceEndpointRouter
-
getProtocol
public EndpointRouter.Protocol getProtocol()
Description copied from interface:EndpointRouterGetsEndpointRouter.Protocolimplemented by thisEndpointRouter.- Specified by:
getProtocolin interfaceEndpointRouter
-
-