public class TcpIpConnectionChannelErrorHandler extends Object implements com.hazelcast.internal.networking.ChannelErrorHandler
Constructor and Description |
---|
TcpIpConnectionChannelErrorHandler(ILogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
onError(com.hazelcast.internal.networking.Channel channel,
Throwable error)
Called when an error was detected.
|
public TcpIpConnectionChannelErrorHandler(ILogger logger)
public void onError(com.hazelcast.internal.networking.Channel channel, Throwable error)
com.hazelcast.internal.networking.ChannelErrorHandler
onError
in interface com.hazelcast.internal.networking.ChannelErrorHandler
channel
- the Channel that ran into an error. It could be that
the Channel is null if error
was thrown not related to a particular Channel.error
- the Throwable causing problemsCopyright © 2019 Hazelcast, Inc.. All rights reserved.