@SuppressWarnings("Duplicates")
	private void scheduleExpiredConnectionsCheck() {
		assert expiredConnectionsCheck == null;
		expiredConnectionsCheck = eventloop.delayBackground(1000L, () -> {
			expiredConnectionsCheck = null;
			poolKeepAliveExpired += poolKeepAlive.closeExpiredConnections(eventloop.currentTimeMillis() - keepAliveTimeoutMillis);
			if (readWriteTimeoutMillis != 0)
				poolReadWriteExpired += poolReadWrite.closeExpiredConnections(eventloop.currentTimeMillis() - readWriteTimeoutMillis, READ_TIMEOUT_ERROR);
			if (getConnectionsCount() != 0)
				scheduleExpiredConnectionsCheck();
		});
	}
@ SuppressWarnings ( "Duplicates" ) private void scheduleExpiredConnectionsCheck ( ) { assert expiredConnectionsCheck == null ; expiredConnectionsCheck = eventloop . delayBackground ( 1000L , ( ) -> { expiredConnectionsCheck = null ; poolKeepAliveExpired += poolKeepAlive . closeExpiredConnections ( eventloop . currentTimeMillis ( ) - keepAliveTimeoutMillis ) ; if ( readWriteTimeoutMillis != 0 ) poolReadWriteExpired += poolReadWrite . closeExpiredConnections ( eventloop . currentTimeMillis ( ) - readWriteTimeoutMillis , READ_TIMEOUT_ERROR ) ; if ( getConnectionsCount ( ) != 0 ) scheduleExpiredConnectionsCheck ( ) ; } ) ; }
endregion