Class AgentBuilder.RedefinitionStrategy.Listener.Pausing

    • Constructor Detail

      • Pausing

        protected Pausing​(long value)
        Creates a new pausing listener.
        Parameters:
        value - The time to sleep in milliseconds between every two batches.
    • Method Detail

      • of

        public static AgentBuilder.RedefinitionStrategy.Listener of​(long value,
                                                                    java.util.concurrent.TimeUnit timeUnit)
        Creates a listener that pauses for the specified amount of time. If the specified value is 0, a non-operational listener is returned.
        Parameters:
        value - The amount of time to pause between redefinition batches.
        timeUnit - The time unit of value.
        Returns:
        An appropriate listener.