net.sf.jour.rt.agent
Class ProfilerEvent

java.lang.Object
  extended bynet.sf.jour.rt.agent.ProfilerEvent
All Implemented Interfaces:
Event, EventTimed, java.io.Serializable

public class ProfilerEvent
extends java.lang.Object
implements EventTimed

TODO Add docs Created on 02.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.12 $ ($Author: vlads $) $Date: 2004/12/15 08:00:37 $
Author:
michaellif
See Also:
Serialized Form

Field Summary
static int counter
           
static int END
           
static int START
           
 
Constructor Summary
ProfilerEvent(int type, java.lang.Throwable t, EventIdentifier eventIdentifier)
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.Object getMethodID()
           
 java.lang.String getMethodName()
           
 java.lang.String getMethodSignature()
           
 java.lang.Object getThreadID()
           
 java.lang.String getThreadName()
           
 java.lang.Throwable getThrowable()
           
 double getTimestamp()
           
 long getTimestampLong()
           
 java.lang.String getType()
           
 boolean onConstruction()
           
 boolean onDeletion()
           
 boolean onMethodEnd()
           
 boolean onMethodStart()
           
 void setThreadName(java.lang.String threadName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

counter

public static int counter

START

public static final int START
See Also:
Constant Field Values

END

public static final int END
See Also:
Constant Field Values
Constructor Detail

ProfilerEvent

public ProfilerEvent(int type,
                     java.lang.Throwable t,
                     EventIdentifier eventIdentifier)
Method Detail

onMethodStart

public boolean onMethodStart()

onMethodEnd

public boolean onMethodEnd()

getThrowable

public java.lang.Throwable getThrowable()

getThreadName

public java.lang.String getThreadName()

getThreadID

public java.lang.Object getThreadID()

setThreadName

public void setThreadName(java.lang.String threadName)

onConstruction

public boolean onConstruction()

onDeletion

public boolean onDeletion()

getClassName

public java.lang.String getClassName()

getMethodName

public java.lang.String getMethodName()

getMethodSignature

public java.lang.String getMethodSignature()

getMethodID

public java.lang.Object getMethodID()

getTimestamp

public double getTimestamp()
Specified by:
getTimestamp in interface EventTimed
Returns:
Returns the timeStamp.

getTimestampLong

public long getTimestampLong()

getType

public java.lang.String getType()

toString

public java.lang.String toString()


Copyright © 2004 sourceforge. All Rights Reserved.