Interface PWCDnsStats
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionThe total number of asynchronic address lookupsThe number of asynchronic lookups in progressThe total number of asynchronic name lookupsThe number of current cache entriesThe number of cache hitsThe number of cache missesReturns whether asynchronic lookup is enabled. 1 if true, 0 otherwiseIndicates whether the DNS cache is enabled or disable.The maximum number of cache entriesMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
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
-