Searched refs:MAX_ACTIVE_CONNECTIONS (Results 1 - 2 of 2) sorted by relevance

/openjdk9/jdk/test/javax/net/ssl/SSLSession/
H A DSessionCacheSizeTests.java107 static int MAX_ACTIVE_CONNECTIONS = 4; field in class:SessionCacheSizeTests
175 SSLSocket sslSockets[] = new SSLSocket [MAX_ACTIVE_CONNECTIONS];
181 while (nConnections < (MAX_ACTIVE_CONNECTIONS - 1)) {
270 for (int conn = nConn; conn < MAX_ACTIVE_CONNECTIONS; conn++) {
291 int serverPorts[] = new int[]{0, 0, 0, 0}; // MAX_ACTIVE_CONNECTIONS: 4
353 int serverConns = MAX_ACTIVE_CONNECTIONS / (serverPorts.length);
354 int remainingConns = MAX_ACTIVE_CONNECTIONS % (serverPorts.length);
H A DSessionTimeOutTests.java109 static int MAX_ACTIVE_CONNECTIONS = 3; field in class:SessionTimeOutTests
116 private static final int serverConns = MAX_ACTIVE_CONNECTIONS / PORTS;
117 private static final int remainingConns = MAX_ACTIVE_CONNECTIONS % PORTS;
168 SSLSocket sslSockets[] = new SSLSocket[MAX_ACTIVE_CONNECTIONS];
174 for (int nConnections = 0; nConnections < MAX_ACTIVE_CONNECTIONS;

Completed in 37 milliseconds