Enum AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating

    • Constructor Detail

      • ErrorEscalating

        private ErrorEscalating()
    • Method Detail

      • values

        public static AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating c : AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • onBatch

        public void onBatch​(int index,
                            java.util.List<java.lang.Class<?>> batch,
                            java.util.List<java.lang.Class<?>> types)
        Invoked before applying a batch.
        Specified by:
        onBatch in interface AgentBuilder.RedefinitionStrategy.Listener
        Parameters:
        index - A running index of the batch starting at 0.
        batch - The types included in this batch.
        types - All types included in the redefinition.