Interface PWCDnsStats

  • All Superinterfaces:
    Stats

    public interface PWCDnsStats
    extends Stats
    The DNS Cache caches IP addresses and DNS names. The server’s DNS cache is disabled by default. A single cache entry represents a single IP address or DNS name lookup
    Author:
    nsegura
    • Method Detail

      • getFlagCacheEnabled

        CountStatistic getFlagCacheEnabled()
        Indicates whether the DNS cache is enabled or disable. Default is disabled.
        Returns:
        DNS cache enabled?
      • getCountCacheEntries

        CountStatistic getCountCacheEntries()
        The number of current cache entries
        Returns:
        current cache entries
      • getMaxCacheEntries

        CountStatistic getMaxCacheEntries()
        The maximum number of cache entries
        Returns:
        max cache entries
      • getCountCacheHits

        CountStatistic getCountCacheHits()
        The number of cache hits
        Returns:
        cache hits
      • getCountCacheMisses

        CountStatistic getCountCacheMisses()
        The number of cache misses
        Returns:
        cache misses
      • getFlagAsyncEnabled

        CountStatistic getFlagAsyncEnabled()
        Returns whether asynchronic lookup is enabled. 1 if true, 0 otherwise
        Returns:
        enabled
      • getCountAsyncNameLookups

        CountStatistic getCountAsyncNameLookups()
        The total number of asynchronic name lookups
        Returns:
        asyn name lookups
      • getCountAsyncAddrLookups

        CountStatistic getCountAsyncAddrLookups()
        The total number of asynchronic address lookups
        Returns:
        asyn address lookups
      • getCountAsyncLookupsInProgress

        CountStatistic getCountAsyncLookupsInProgress()
        The number of asynchronic lookups in progress
        Returns:
        async lookups in progress