Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.util
Class Timing

java.lang.Object
  extended by oracle.adfnmc.util.Timing

public class Timing
extends java.lang.Object


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Method Summary
static void clearLog()
          Clear all timing events from the log
static void dumpLog()
          Output timing events to the categories specified in each timing event.
static void start(java.lang.String msg)
          Start a timing event.
static void start(java.lang.String categoryName, java.lang.String msg)
          Start a timing event.
static void stop()
          End a timing event by computing the elapsed time since the start.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Method Detail

start

public static final void start(java.lang.String msg)
Start a timing event. When output is displayed, it will be sent to the default profiling log category.

Parameters:
msg - Message or marker to uniquely identify this timing event

start

public static final void start(java.lang.String categoryName,
                               java.lang.String msg)
Start a timing event. When output is displayed, it will be sent to the default specified log category.

Parameters:
categoryName - Name of log category to send output to
msg - Message or marker to uniquely identify this timing event

stop

public static final void stop()
End a timing event by computing the elapsed time since the start.


clearLog

public static final void clearLog()
Clear all timing events from the log


dumpLog

public static final void dumpLog()
Output timing events to the categories specified in each timing event.


Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.