Interface PWCDnsStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountStatisticgetCountAsyncAddrLookups()The total number of asynchronic address lookupsCountStatisticgetCountAsyncLookupsInProgress()The number of asynchronic lookups in progressCountStatisticgetCountAsyncNameLookups()The total number of asynchronic name lookupsCountStatisticgetCountCacheEntries()The number of current cache entriesCountStatisticgetCountCacheHits()The number of cache hitsCountStatisticgetCountCacheMisses()The number of cache missesCountStatisticgetFlagAsyncEnabled()Returns whether asynchronic lookup is enabled.CountStatisticgetFlagCacheEnabled()Indicates whether the DNS cache is enabled or disable.CountStatisticgetMaxCacheEntries()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
-
-