Methods Summary |
---|
public synchronized int | getCountConnections()Gets the number of connections in keep-alive mode.
return countConnections;
|
public synchronized int | getCountFlushes()Gets the number of keep-alive connections that were closed
return countFlushes;
|
public synchronized int | getCountHits()Gets the number of requests received by connections in keep-alive mode.
return countHits;
|
public synchronized int | getCountRefusals()Gets the number of keep-alive connections that were rejected.
return countRefusals;
|
public synchronized int | getCountTimeouts()Gets the number of keep-alive connections that timed out.
return countTimeouts;
|
public int | getMaxConnections()Gets the maximum number of concurrent connections in keep-alive mode.
return maxConnections;
|
public int | getSecondsTimeouts()Gets the number of seconds before a keep-alive connection that has
been idle times out and is closed.
return secondsTimeouts;
|
public synchronized void | incrementCountConnections()Increments the number of connections in keep-alive mode.
countConnections++;
|
public synchronized void | incrementCountFlushes()Increments the number of keep-alive connections that were closed
countFlushes++;
|
public synchronized void | incrementCountHits()Increments the number of requests received by connections in
keep-alive mode.
countHits++;
|
public synchronized void | incrementCountRefusals()Increments the number of keep-alive connections that were rejected.
countRefusals++;
|
public synchronized void | incrementCountTimeouts()Increments the number of keep-alive connections that timed out.
countTimeouts++;
|
public void | setMaxConnections(int maxConnections)Sets the maximum number of concurrent connections in keep-alive mode.
this.maxConnections = maxConnections;
|
public void | setSecondsTimeouts(int timeout)Sets the number of seconds before a keep-alive connection that has
been idle times out and is closed.
secondsTimeouts = timeout;
|