Class NGServerStats

java.lang.Object
com.martiansoftware.nailgun.builtins.NGServerStats

public class NGServerStats extends Object

Displays all NailStats tracked by the server.

This can be run standalone with no arguments. It will also run automatically upon NGServer shutdown, sending its output to the server's System.out.

This is aliased by default to the command "ng-stats".

  • Constructor Details

    • NGServerStats

      public NGServerStats()
  • Method Details

    • nailShutdown

      public static void nailShutdown(NGServer server)
    • nailMain

      public static void nailMain(NGContext context)
    • dumpStats

      private static void dumpStats(NGServer server, PrintStream out)