protected void refuseHandshake(String msg, byte exception) { try { ServerHandShakeProcessor.refuse(this.theSocket.getOutputStream(), msg, exception); } catch (IOException ignore) { } finally { this.stats.incFailedConnectionAttempts(); cleanup(); } }
protected void refuseHandshake(String msg, byte exception) { try { ServerHandShakeProcessor.refuse(this.theSocket.getOutputStream(), msg, exception); } catch (IOException ignore) { } finally { this.stats.incFailedConnectionAttempts(); cleanup(); } }
connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false; .toLocalizedString(new Object[] { e.getMessage(), Acceptor.VERSION.toString() }), REPLY_REFUSED); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false;
LocalizedStrings.ServerHandShakeProcessor_0_HANDSHAKE_REPLY_CODE_TIMEOUT_NOT_RECEIVED_WITH_IN_1_MS, new Object[] {connection.getName(), Integer.valueOf(handShakeTimeout)})); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; LocalizedStrings.ServerHandShakeProcessor_0_RECEIVED_NO_HANDSHAKE_REPLY_CODE, connection.getName()), e); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.refuseHandshake(noauth.getMessage(), HandShake.REPLY_EXCEPTION_AUTHENTICATION_REQUIRED); connection.stats.incFailedConnectionAttempts(); connection.refuseHandshake(failed.getMessage(), HandShake.REPLY_EXCEPTION_AUTHENTICATION_FAILED); connection.stats.incFailedConnectionAttempts();
this.stats.incFailedConnectionAttempts(); cleanup(); return false;
connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false; .toLocalizedString(new Object[] { e.getMessage(), Acceptor.VERSION.toString() }), REPLY_REFUSED); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); validHandShake = false;
LocalizedStrings.ServerHandShakeProcessor_0_HANDSHAKE_REPLY_CODE_TIMEOUT_NOT_RECEIVED_WITH_IN_1_MS, new Object[] {connection.getName(), Integer.valueOf(handShakeTimeout)}); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; LocalizedStrings.ServerHandShakeProcessor_0_RECEIVED_NO_HANDSHAKE_REPLY_CODE, connection.getName(), e); connection.stats.incFailedConnectionAttempts(); connection.cleanup(); return false; connection.stats.incFailedConnectionAttempts(); connection.refuseHandshake(noauth.getMessage(), HandShake.REPLY_EXCEPTION_AUTHENTICATION_REQUIRED); connection.stats.incFailedConnectionAttempts(); connection.refuseHandshake(failed.getMessage(), HandShake.REPLY_EXCEPTION_AUTHENTICATION_FAILED); LocalizedStrings.TWO_ARG_COLON,
this.stats.incFailedConnectionAttempts(); cleanup(); return false;
cacheServerStats.incThreadQueueSize(); cacheServerStats.incCurrentClientConnections(); cacheServerStats.incFailedConnectionAttempts(); cacheServerStats.incConnectionsTimedOut(); cacheServerStats.incReadQueryRequestTime(startTime);