Package zombie.core.profiling
Class AbstractPerformanceProfileProbe
java.lang.Object
zombie.core.profiling.AbstractPerformanceProfileProbe
- Direct Known Subclasses:
PerformanceProfileProbe
public abstract class AbstractPerformanceProfileProbe
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
Name
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractPerformanceProfileProbe(java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
end()
void
invokeAndMeasure(java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback)
void
invokeAndMeasure(java.lang.Object object, Invokers.Params1.ICallback iCallback)
void
invokeAndMeasure(java.lang.Runnable runnable)
boolean
isEnabled()
protected abstract void
onEnd()
protected abstract void
onStart()
void
setEnabled(boolean boolean1)
void
start()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Name
public final java.lang.String Name
-
-
Constructor Details
-
AbstractPerformanceProfileProbe
protected AbstractPerformanceProfileProbe(java.lang.String string)
-
-
Method Details
-
onStart
protected abstract void onStart() -
onEnd
protected abstract void onEnd() -
start
public void start() -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean boolean1) -
end
public void end() -
invokeAndMeasure
public void invokeAndMeasure(java.lang.Runnable runnable) -
invokeAndMeasure
-
invokeAndMeasure
public void invokeAndMeasure(java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback)
-