Class FlowableProfiler
- java.lang.Object
-
- org.flowable.engine.test.profiler.FlowableProfiler
-
- All Implemented Interfaces:
EngineConfigurator
public class FlowableProfiler extends Object implements EngineConfigurator
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected ProfileSessioncurrentProfileSessionprotected static FlowableProfilerINSTANCEprotected List<ProfileSession>profileSessions
-
Constructor Summary
Constructors Constructor Description FlowableProfiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeInit(AbstractEngineConfiguration engineConfiguration)voidconfigure(AbstractEngineConfiguration engineConfiguration)ProfileSessiongetCurrentProfileSession()static FlowableProfilergetInstance()intgetPriority()List<ProfileSession>getProfileSessions()voidreset()voidsetCurrentProfileSession(ProfileSession currentProfileSession)voidsetProfileSessions(List<ProfileSession> profileSessions)voidstartProfileSession(String name)voidstopCurrentProfileSession()
-
-
-
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(AbstractEngineConfiguration engineConfiguration)
- Specified by:
beforeInitin interfaceEngineConfigurator
-
configure
public void configure(AbstractEngineConfiguration engineConfiguration)
- Specified by:
configurein interfaceEngineConfigurator
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceEngineConfigurator
-
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)
-
-