org.netbeans.core.startup/1 1.40

org.netbeans.core.startup
Class StartLog

java.lang.Object
  extended by org.netbeans.core.startup.StartLog

public class StartLog
extends Object

Logger that will enable the logging of important events during the startup annotated with real time and possibly time differences.


Constructor Summary
StartLog()
           
 
Method Summary
static void logEnd(String action)
          Stop running some interval action.
static void logMeasuredStartupTime(long end)
          Logs the startup time.
static void logProgress(String note)
          Note that something happened, but not an interval.
static void logStart(String action)
          Start running some interval action.
static boolean willLog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartLog

public StartLog()
Method Detail

logStart

public static void logStart(String action)
Start running some interval action.

Parameters:
action - some identifying string

logProgress

public static void logProgress(String note)
Note that something happened, but not an interval. The log will note only the time elapsed since the last interesting event.

Parameters:
note - some identifying string

logEnd

public static void logEnd(String action)
Stop running some interval action. The log will note the time elapsed since the start of the action. Actions must be properly nested.

Parameters:
action - some identifying string

willLog

public static boolean willLog()

logMeasuredStartupTime

public static void logMeasuredStartupTime(long end)
Logs the startup time. The begining is tracked by this class. The end is passed as argument.


org.netbeans.core.startup/1 1.40

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.