com.sun.enterprise.admin.monitor.stats
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


Method Summary
 CountStatistic getCountAsyncAddrLookups()
          The total number of asynchronic address lookups
 CountStatistic getCountAsyncLookupsInProgress()
          The number of asynchronic lookups in progress
 CountStatistic getCountAsyncNameLookups()
          The total number of asynchronic name lookups
 CountStatistic getCountCacheEntries()
          The number of current cache entries
 CountStatistic getCountCacheHits()
          The number of cache hits
 CountStatistic getCountCacheMisses()
          The number of cache misses
 CountStatistic getFlagAsyncEnabled()
          Returns whether asynchronic lookup is enabled.
 CountStatistic getFlagCacheEnabled()
          Indicates whether the DNS cache is enabled or disable.
 CountStatistic getMaxCacheEntries()
          The maximum number of cache entries
 
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

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


Copyright © 2012. All Rights Reserved.