Interface ResolverMXBean

All Known Implementing Classes:
JMXResolver

public interface ResolverMXBean
A JMX interface for DNS resolvers.
Since:
12.4
Version:
12.4
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the application code.
    Returns the cache hit rate percentage.
    Returns the number of successful requests made to this resolver.
    Returns the number of unsuccessful requests made to this resolver.
    Returns the number of rejected requests made to this resolve.
    Returns the number of requests made to this resolver.
    Returns the number of resolver threads.
  • Method Details

    • getCode

      String getCode()
      Returns the application code.
      Returns:
      the code
    • getThreads

      Integer getThreads()
      Returns the number of resolver threads.
      Returns:
      the number of threads
    • getRequests

      Long getRequests()
      Returns the number of requests made to this resolver.
      Returns:
      the number of requests
    • getHits

      Long getHits()
      Returns the number of successful requests made to this resolver.
      Returns:
      the number of hits
    • getMisses

      Long getMisses()
      Returns the number of unsuccessful requests made to this resolver.
      Returns:
      the number of misses
    • getRejected

      Long getRejected()
      Returns the number of rejected requests made to this resolve.
      Returns:
      the number of rejected requests
    • getHitRate

      Float getHitRate()
      Returns the cache hit rate percentage.
      Returns:
      the percentage, or zero if no requests have been made