Class DNSCacheManager

    • Constructor Detail

      • DNSCacheManager

        public DNSCacheManager()
    • Method Detail

      • testIterationStart

        public void testIterationStart​(LoopIterationEvent event)
        Each time through a Thread Group's test script, an iteration event is fired for each thread. This will be after the test elements have been cloned, so in general the instance will not be the same as the ones the start/end methods call. Clean DNS cache if appropriate check-box was selected
        Specified by:
        testIterationStart in interface TestIterationListener
        Parameters:
        event - the iteration event
      • addServer

        public void addServer​(String dnsServer)
      • isClearEachIteration

        public boolean isClearEachIteration()
        Clean DNS cache each iteration
        Returns:
        boolean
      • setClearEachIteration

        public void setClearEachIteration​(boolean clear)
        Clean DNS cache each iteration
        Parameters:
        clear - flag whether DNS cache should be cleared on each iteration
      • isCustomResolver

        public boolean isCustomResolver()
      • setCustomResolver

        public void setCustomResolver​(boolean isCustomResolver)