org.nhindirect.dns
Interface DNSSocketServerMBean

All Known Implementing Classes:
DNSSocketServer, TCPServer, UDPServer

public interface DNSSocketServerMBean

MBean interface definition for monitoring and managing a DNS socket server.

Since:
1.1.0
Author:
Greg Meyer

Method Summary
 Long getErrorRequestCount()
          Gets the number of requests that resulted in an error.
 Long getMissedRequestCount()
          Gets the number of requests that returned no records without error.
 Long getRejectedRequestCount()
          Gets the number of requests that were rejected by the server due to being to busy.
 Long getResourceRequestCount()
          Gets the number of DNS requests received by the server.
 String getResourceRequestLoad()
          Gets the request load of the server.
 Long getSuccessfulRequestCount()
          Gets the number of requests that returned without error.
 Long getUptime()
          Gets the time in milliseconds that the server has been running since its last start.
 

Method Detail

getResourceRequestCount

Long getResourceRequestCount()
Gets the number of DNS requests received by the server.

Returns:
The number of DNS requests received by the server.

getResourceRequestLoad

String getResourceRequestLoad()
Gets the request load of the server. Load is returned in number of requests per second averaged over the last 5 seconds.

Returns:
The request load of the server.

getUptime

Long getUptime()
Gets the time in milliseconds that the server has been running since its last start.

Returns:
The time in milliseconds that the server has been running since its last start.

getSuccessfulRequestCount

Long getSuccessfulRequestCount()
Gets the number of requests that returned without error. NXDOMAIN statuses qualify as successful requests.

Returns:
The number of requests that returned without error.

getErrorRequestCount

Long getErrorRequestCount()
Gets the number of requests that resulted in an error.

Returns:
The number of requests that resulted in an error.

getMissedRequestCount

Long getMissedRequestCount()
Gets the number of requests that returned no records without error.

Returns:
The number of request that returned no records without error.

getRejectedRequestCount

Long getRejectedRequestCount()
Gets the number of requests that were rejected by the server due to being to busy. A high number of rejected requests indicates that the server should be reconfigured to accept a higher load.

Returns:
The number of requests that were rejected by the server due to being to busy.


Copyright © 2010-2015 The Direct Project. All Rights Reserved.