Class Generator

  • All Implemented Interfaces:
    Runnable, Plugin, Component, org.apache.log4j.spi.OptionHandler, Thresholdable

    public class Generator
    extends Receiver
    implements Runnable
    Class designed to stress, and/or test the Chainsaw GUI by sending it lots of Logging Events.
    Author:
    Scott Deboy <sdeboy@apache.org>
    • Constructor Detail

      • Generator

        public Generator​(String name)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • shutdown

        public void shutdown()
        Description copied from interface: Plugin
        Call when the plugin should be stopped.
        Specified by:
        shutdown in interface Plugin
      • activateOptions

        public void activateOptions()
        Specified by:
        activateOptions in interface org.apache.log4j.spi.OptionHandler