org.eclipse.core.internal.events
Class ResourceStats

java.lang.Object
  extended by org.eclipse.core.internal.events.ResourceStats

public class ResourceStats
extends java.lang.Object

An ResourceStats collects and aggregates timing data about an event such as a builder running, an editor opening, etc.


Field Summary
static java.lang.String EVENT_BUILDERS
           
static java.lang.String EVENT_LISTENERS
           
static java.lang.String EVENT_SAVE_PARTICIPANTS
           
static java.lang.String EVENT_SNAPSHOT
           
static boolean TRACE_BUILDERS
           
static boolean TRACE_LISTENERS
           
static boolean TRACE_SAVE_PARTICIPANTS
           
static boolean TRACE_SNAPSHOT
           
 
Constructor Summary
ResourceStats()
           
 
Method Summary
static void endBuild()
           
static void endNotify()
           
static void endSave()
           
static void endSnapshot()
           
static void listenerAdded(IResourceChangeListener listener)
          Notifies the stats tool that a resource change listener has been added.
static void listenerRemoved(IResourceChangeListener listener)
          Notifies the stats tool that a resource change listener has been removed.
static void startBuild(IncrementalProjectBuilder builder)
           
static void startNotify(IResourceChangeListener listener)
           
static void startSave(ISaveParticipant participant)
           
static void startSnapshot()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_BUILDERS

public static final java.lang.String EVENT_BUILDERS
See Also:
Constant Field Values

EVENT_LISTENERS

public static final java.lang.String EVENT_LISTENERS
See Also:
Constant Field Values

EVENT_SAVE_PARTICIPANTS

public static final java.lang.String EVENT_SAVE_PARTICIPANTS
See Also:
Constant Field Values

EVENT_SNAPSHOT

public static final java.lang.String EVENT_SNAPSHOT
See Also:
Constant Field Values

TRACE_BUILDERS

public static boolean TRACE_BUILDERS

TRACE_LISTENERS

public static boolean TRACE_LISTENERS

TRACE_SAVE_PARTICIPANTS

public static boolean TRACE_SAVE_PARTICIPANTS

TRACE_SNAPSHOT

public static boolean TRACE_SNAPSHOT
Constructor Detail

ResourceStats

public ResourceStats()
Method Detail

endBuild

public static void endBuild()

endNotify

public static void endNotify()

endSave

public static void endSave()

endSnapshot

public static void endSnapshot()

listenerAdded

public static void listenerAdded(IResourceChangeListener listener)
Notifies the stats tool that a resource change listener has been added.


listenerRemoved

public static void listenerRemoved(IResourceChangeListener listener)
Notifies the stats tool that a resource change listener has been removed.


startBuild

public static void startBuild(IncrementalProjectBuilder builder)

startNotify

public static void startNotify(IResourceChangeListener listener)

startSnapshot

public static void startSnapshot()

startSave

public static void startSave(ISaveParticipant participant)