Class FlowableProfiler
- java.lang.Object
-
- org.flowable.engine.test.profiler.FlowableProfiler
-
- All Implemented Interfaces:
org.flowable.common.engine.impl.EngineConfigurator
public class FlowableProfiler extends Object implements org.flowable.common.engine.impl.EngineConfigurator
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected ProfileSession
currentProfileSession
protected static FlowableProfiler
INSTANCE
protected List<ProfileSession>
profileSessions
-
Constructor Summary
Constructors Constructor Description FlowableProfiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
void
configure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
ProfileSession
getCurrentProfileSession()
static FlowableProfiler
getInstance()
int
getPriority()
List<ProfileSession>
getProfileSessions()
void
reset()
void
setCurrentProfileSession(ProfileSession currentProfileSession)
void
setProfileSessions(List<ProfileSession> profileSessions)
void
startProfileSession(String name)
void
stopCurrentProfileSession()
-
-
-
Field Detail
-
INSTANCE
protected static FlowableProfiler INSTANCE
-
currentProfileSession
protected ProfileSession currentProfileSession
-
profileSessions
protected List<ProfileSession> profileSessions
-
-
Method Detail
-
getInstance
public static FlowableProfiler getInstance()
-
beforeInit
public void beforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
- Specified by:
beforeInit
in interfaceorg.flowable.common.engine.impl.EngineConfigurator
-
configure
public void configure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
- Specified by:
configure
in interfaceorg.flowable.common.engine.impl.EngineConfigurator
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceorg.flowable.common.engine.impl.EngineConfigurator
-
reset
public void reset()
-
startProfileSession
public void startProfileSession(String name)
-
stopCurrentProfileSession
public void stopCurrentProfileSession()
-
getCurrentProfileSession
public ProfileSession getCurrentProfileSession()
-
setCurrentProfileSession
public void setCurrentProfileSession(ProfileSession currentProfileSession)
-
getProfileSessions
public List<ProfileSession> getProfileSessions()
-
setProfileSessions
public void setProfileSessions(List<ProfileSession> profileSessions)
-
-