Package io.ryos.rhino.sdk
Class SimulationMetadata
- java.lang.Object
-
- io.ryos.rhino.sdk.SimulationMetadata
-
public class SimulationMetadata extends java.lang.Object
SimulationMetadata
is representation of a single performance testing job. The instances ofSimulationMetadata
is created by using the metadata provided on annotated benchmark entities. Simulation metadata entities do comprise scenarios, that are run per user on a single thread. For each scenario there will be a new SimulationMetadata instance created so as to run the scenario isolated on a single thread.The job instances are created by
SimulationJobsScanner
classes.- Since:
- 1.0.0
- Author:
- Erhan Bagdemir
- See Also:
Simulation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Method
getAfterMethod()
java.lang.reflect.Method
getBeforeMethod()
java.lang.reflect.Method
getCleanupMethod()
java.util.List<DslMethod>
getDslMethods()
java.util.List<DslBuilder>
getDsls()
java.time.Duration
getDuration()
GrafanaInfo
getGrafanaInfo()
SimulationLogFormatter
getLogFormatter()
int
getNumberOfUsers()
java.lang.reflect.Method
getPrepareMethod()
RampupInfo
getRampUpInfo()
java.lang.String
getReportingURI()
java.lang.Class<? extends SimulationRunner>
getRunner()
java.util.List<Scenario>
getScenarios()
java.lang.Class
getSimulationClass()
java.lang.String
getSimulationName()
java.lang.Object
getTestInstance()
ThrottlingInfo
getThrottlingInfo()
java.lang.String
getUserRegion()
UserRepository<UserSession>
getUserRepository()
boolean
isEnableInflux()
-
-
-
Method Detail
-
getLogFormatter
public SimulationLogFormatter getLogFormatter()
-
getPrepareMethod
public java.lang.reflect.Method getPrepareMethod()
-
getCleanupMethod
public java.lang.reflect.Method getCleanupMethod()
-
getReportingURI
public java.lang.String getReportingURI()
-
getRunner
public java.lang.Class<? extends SimulationRunner> getRunner()
-
getNumberOfUsers
public int getNumberOfUsers()
-
getUserRepository
public UserRepository<UserSession> getUserRepository()
-
getDuration
public java.time.Duration getDuration()
-
getScenarios
public java.util.List<Scenario> getScenarios()
-
getDsls
public java.util.List<DslBuilder> getDsls()
-
getDslMethods
public java.util.List<DslMethod> getDslMethods()
-
getSimulationClass
public java.lang.Class getSimulationClass()
-
isEnableInflux
public boolean isEnableInflux()
-
getBeforeMethod
public java.lang.reflect.Method getBeforeMethod()
-
getAfterMethod
public java.lang.reflect.Method getAfterMethod()
-
getSimulationName
public java.lang.String getSimulationName()
-
getTestInstance
public java.lang.Object getTestInstance()
-
getThrottlingInfo
public ThrottlingInfo getThrottlingInfo()
-
getRampUpInfo
public RampupInfo getRampUpInfo()
-
getUserRegion
public java.lang.String getUserRegion()
-
getGrafanaInfo
public GrafanaInfo getGrafanaInfo()
-
-