//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: private ReconnectingChannel(io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.EventLoop eventLoop, org.neo4j.helpers.SocketAddress destination, final org.neo4j.logging.Log log, org.neo4j.causalclustering.helper.TimeoutStrategy connectionBackoffStrategy) private ReconnectingChannel(Bootstrap bootstrap, EventLoop eventLoop, SocketAddress destination, Log log, TimeoutStrategy connectionBackoffStrategy) { this._bootstrap = bootstrap; this._eventLoop = eventLoop; this._destination = destination; this._log = log; this._cappedLogger = (new CappedLogger(log)).setTimeLimit(20, TimeUnit.SECONDS, Clock.systemUTC()); this._connectionBackoffStrategy = connectionBackoffStrategy; this._connectionBackoff = connectionBackoffStrategy.NewTimeout(); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @BeforeClass public static void initialSetup() public static void InitialSetup() { _clientGroup = new NioEventLoopGroup(); _bootstrap = (new Bootstrap()).group(_clientGroup).channel(typeof(NioSocketChannel)).handler(new ChannelInitializerAnonymousInnerClass()); }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: ReconnectingChannel(io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.EventLoop eventLoop, org.neo4j.helpers.SocketAddress destination, final org.neo4j.logging.Log log) internal ReconnectingChannel(Bootstrap bootstrap, EventLoop eventLoop, SocketAddress destination, Log log) : this(bootstrap, eventLoop, destination, log, new ExponentialBackoffStrategy(100, 1600, MILLISECONDS)) { }