Uses of Class
ru.pathcreator.pyc.rpc.core.RpcChannel
Packages that use RpcChannel
-
Uses of RpcChannel in ru.pathcreator.pyc.rpc.core
Methods in ru.pathcreator.pyc.rpc.core that return RpcChannelModifier and TypeMethodDescriptionRpcNode.channel(ChannelConfig channelConfig) Создаёт новый канал и добавляет его в node-owned список каналов.Methods in ru.pathcreator.pyc.rpc.core with parameters of type RpcChannelModifier and TypeMethodDescriptionRpcMethod.call(RpcChannel channel, Req request) Вызывает метод через указанный канал с default timeout канала.RpcMethod.call(RpcChannel channel, Req request, long timeout, TimeUnit unit) Вызывает метод через указанный канал с явным timeout.default voidRpcChannelListener.onCallFailed(RpcChannel channel, int requestMessageTypeId, long correlationId, RpcException failure) Вызывается при локальном сбое client-side call.default voidRpcChannelListener.onCallStarted(RpcChannel channel, int requestMessageTypeId, long correlationId) Вызывается при старте client-side call.default voidRpcChannelListener.onCallSucceeded(RpcChannel channel, int requestMessageTypeId, long correlationId) Вызывается при успешном завершении client-side call.default voidRpcChannelListener.onCallTimedOut(RpcChannel channel, int requestMessageTypeId, long correlationId, long timeoutNs) Вызывается при timeout client-side call.default voidRpcChannelListener.onChannelDown(RpcChannel channel) Вызывается, когда канал считается down.default voidRpcChannelListener.onChannelUp(RpcChannel channel) Вызывается, когда канал считается поднятым.default voidRpcChannelListener.onDrainFinished(RpcChannel channel) Вызывается по завершении drain mode.default voidRpcChannelListener.onDrainStarted(RpcChannel channel) Вызывается при старте drain mode.default voidRpcChannelListener.onProtocolHandshakeFailed(RpcChannel channel, RpcException failure) Вызывается при провале protocol handshake.default voidRpcChannelListener.onProtocolHandshakeStarted(RpcChannel channel) Вызывается при старте protocol handshake.default voidRpcChannelListener.onProtocolHandshakeSucceeded(RpcChannel channel, int remoteVersion, long remoteCapabilities) Вызывается при успешном protocol handshake.default voidRpcChannelListener.onReconnectAttempt(RpcChannel channel, ReconnectStrategy strategy) Вызывается при попытке reconnect/recovery.default voidRpcChannelListener.onReconnectFailed(RpcChannel channel, ReconnectStrategy strategy, Throwable failure) Вызывается при неуспешном reconnect/recovery.default voidRpcChannelListener.onReconnectSucceeded(RpcChannel channel, ReconnectStrategy strategy) Вызывается при успешном reconnect/recovery.default voidRpcChannelListener.onRemoteError(RpcChannel channel, int responseMessageTypeId, long correlationId, RpcException failure) Вызывается при structured remote error от другой стороны.voidRpcMethod.register(RpcChannel channel, RequestHandler<Req, Resp> handler) Регистрирует handler этого метода на указанном канале. -
Uses of RpcChannel in ru.pathcreator.pyc.rpc.metrics
Methods in ru.pathcreator.pyc.rpc.metrics with parameters of type RpcChannelModifier and TypeMethodDescriptionvoidRpcMetricsListener.onCallFailed(RpcChannel channel, int requestMessageTypeId, long correlationId, RpcException failure) voidRpcMetricsListener.onCallStarted(RpcChannel channel, int requestMessageTypeId, long correlationId) voidRpcMetricsListener.onCallSucceeded(RpcChannel channel, int requestMessageTypeId, long correlationId) voidRpcMetricsListener.onCallTimedOut(RpcChannel channel, int requestMessageTypeId, long correlationId, long timeoutNs) voidRpcMetricsListener.onChannelDown(RpcChannel channel) voidRpcMetricsListener.onChannelUp(RpcChannel channel) voidRpcMetricsListener.onDrainFinished(RpcChannel channel) voidRpcMetricsListener.onDrainStarted(RpcChannel channel) voidRpcMetricsListener.onProtocolHandshakeFailed(RpcChannel channel, RpcException failure) voidRpcMetricsListener.onProtocolHandshakeStarted(RpcChannel channel) voidRpcMetricsListener.onProtocolHandshakeSucceeded(RpcChannel channel, int remoteVersion, long remoteCapabilities) voidRpcMetricsListener.onReconnectAttempt(RpcChannel channel, ReconnectStrategy strategy) voidRpcMetricsListener.onReconnectFailed(RpcChannel channel, ReconnectStrategy strategy, Throwable failure) voidRpcMetricsListener.onReconnectSucceeded(RpcChannel channel, ReconnectStrategy strategy) voidRpcMetricsListener.onRemoteError(RpcChannel channel, int responseMessageTypeId, long correlationId, RpcException failure)