com.caucho.profile
Class ProProfileEntry

java.lang.Object
  extended by com.caucho.profile.ProfileEntry
      extended by com.caucho.profile.ProProfileEntry

public class ProProfileEntry
extends ProfileEntry

A profile entry


Field Summary
static int THREAD_RUNNABLE
           
 
Constructor Summary
ProProfileEntry(int state, long count, long size)
           
 
Method Summary
 void addStack(java.lang.String className, java.lang.String methodName, java.lang.String argString)
           
 long getCount()
           
 java.lang.String getDescription()
           
 java.lang.String getOverview(long ms)
           
 java.util.ArrayList<ProStackEntry> getStackTrace()
           
 java.lang.String getState()
           
 boolean isBlocked()
           
 boolean isJni()
           
 boolean isParked()
           
 boolean isRunnable()
           
 boolean isSleeping()
           
 boolean isWaiting()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

THREAD_RUNNABLE

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

ProProfileEntry

public ProProfileEntry(int state,
                       long count,
                       long size)
Method Detail

addStack

public void addStack(java.lang.String className,
                     java.lang.String methodName,
                     java.lang.String argString)

isBlocked

public boolean isBlocked()

isWaiting

public boolean isWaiting()

isRunnable

public boolean isRunnable()

isJni

public boolean isJni()

isParked

public boolean isParked()

isSleeping

public boolean isSleeping()

getState

public java.lang.String getState()
Overrides:
getState in class ProfileEntry

getCount

public long getCount()
Overrides:
getCount in class ProfileEntry

getStackTrace

public java.util.ArrayList<ProStackEntry> getStackTrace()
Overrides:
getStackTrace in class ProfileEntry

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class ProfileEntry

getOverview

public java.lang.String getOverview(long ms)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object