Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
com.griddynamics.jagger.user.test.configurations.load.JLoadProfileInvocation Class Reference

This type of load implements an exact number of invocation, performed by exact number of threads. More...

Inheritance diagram for com.griddynamics.jagger.user.test.configurations.load.JLoadProfileInvocation:

Classes

class  Builder
 

Public Member Functions

int getDelayBetweenInvocationsInMilliseconds ()
 
int getInvocationCount ()
 
int getPeriodInSeconds ()
 
int getThreadCount ()
 
int getTickInterval ()
 

Static Public Member Functions

static Builder builder (InvocationCount invocationCount, ThreadCount threadCount)
 Builder of JLoadProfileInvocation. More...
 

Detailed Description

This type of load implements an exact number of invocation, performed by exact number of threads.

Available attributes:

  • invocationCount - A goal number of invocations
  • threadCount - How many threads will be used. Number of invocations, defined by invocationCount, will be distributed between this threads

Optional attributes:

  • delayBetweenInvocationsInMilliseconds - Delay between invocations in milliseconds
  • periodInSeconds - Period between load generation in seconds. If periodInSeconds is set, Jagger will perform invocationCount of requests every periodInSeconds seconds

Examples:

JLoadProfileInvocation.builder(InvocationCount.of(500), ThreadCount.of(1));
load_InvocationsEnd.png
Invocations load


JLoadProfileInvocation.builder(InvocationCount.of(500), ThreadCount.of(5)).withPeriodBetweenLoadInSeconds(30).build();
load_InvocationsWithPeriod.png
Periodic invocations load. Same set of requests is executed periodically. 'Period between load' > time to execute all requests


JLoadProfileInvocation.builder(InvocationCount.of(500), ThreadCount.of(1)).withPeriodBetweenLoadInSeconds(10).build();
load_InvocationsWithPeriod2.png
Periodic invocations load. Same set of requests is executed periodically. 'Period between load' < time to execute all requests

Definition at line 36 of file JLoadProfileInvocation.java.


The documentation for this class was generated from the following file: