Package com.linkedin.alpini.router.impl
Interface Router
- All Superinterfaces:
Shutdownable
,ShutdownableResource
- All Known Implementing Classes:
Router4Impl
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic <H,
P extends ResourcePath<K>, K, R>
Router.Builderbuilder
(ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper) int
int
long
setAcceptConnection
(boolean enabled) start
(SocketAddress address) Methods inherited from interface com.linkedin.alpini.base.registry.Shutdownable
shutdown, waitForShutdown, waitForShutdown
Methods inherited from interface com.linkedin.alpini.base.registry.ShutdownableResource
isShutdown, isTerminated
-
Method Details
-
nettyVersion
Netty nettyVersion() -
start
-
getLocalAddress
AsyncFuture<SocketAddress> getLocalAddress() -
setAcceptConnection
-
getConnectedCount
int getConnectedCount() -
getActiveStreams
int getActiveStreams() -
getRstErrorCount
long getRstErrorCount() -
builder
static <H,P extends ResourcePath<K>, Router.Builder builderK, R> (@Nonnull ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper)
-