跳过导航链接
A C D E G H I L M N O Q R S T U V W Z 

A

AbstractRateLimiter - com.github.myzhan.locust4j.ratelimit中的类
 
AbstractRateLimiter() - 类 的构造器com.github.myzhan.locust4j.ratelimit.AbstractRateLimiter
 
AbstractTask - com.github.myzhan.locust4j中的类
An AbstractTask is the abstraction layer of test scenario, which requires subtypes to implement test scenario in AbstractTask.execute() method.
AbstractTask() - 类 的构造器com.github.myzhan.locust4j.AbstractTask
 
AbstractTaskSet - com.github.myzhan.locust4j.taskset中的类
 
AbstractTaskSet() - 类 的构造器com.github.myzhan.locust4j.taskset.AbstractTaskSet
 
acquire() - 类 中的方法com.github.myzhan.locust4j.ratelimit.AbstractRateLimiter
Acquire a permit from rate limiter.
acquire() - 类 中的方法com.github.myzhan.locust4j.ratelimit.RampUpRateLimiter
 
acquire() - 类 中的方法com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
add(Long) - 类 中的方法com.github.myzhan.locust4j.message.LongIntMap
 
addTask(AbstractTask) - 类 中的方法com.github.myzhan.locust4j.taskset.AbstractTaskSet
Add a task to the task set.
addTask(AbstractTask) - 类 中的方法com.github.myzhan.locust4j.taskset.WeighingTaskSet
 

C

clearAll() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
Client - com.github.myzhan.locust4j.rpc中的接口
RPC Client interface.
close() - 接口 中的方法com.github.myzhan.locust4j.rpc.Client
close client
close() - 类 中的方法com.github.myzhan.locust4j.rpc.ZeromqClient
 
collectReportData() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
com.github.myzhan.locust4j - 程序包 com.github.myzhan.locust4j
 
com.github.myzhan.locust4j.message - 程序包 com.github.myzhan.locust4j.message
 
com.github.myzhan.locust4j.ratelimit - 程序包 com.github.myzhan.locust4j.ratelimit
 
com.github.myzhan.locust4j.rpc - 程序包 com.github.myzhan.locust4j.rpc
 
com.github.myzhan.locust4j.runtime - 程序包 com.github.myzhan.locust4j.runtime
 
com.github.myzhan.locust4j.stats - 程序包 com.github.myzhan.locust4j.stats
 
com.github.myzhan.locust4j.taskset - 程序包 com.github.myzhan.locust4j.taskset
 
com.github.myzhan.locust4j.utils - 程序包 com.github.myzhan.locust4j.utils
 
currentTimeInSeconds() - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
Get the current timestamp in seconds.

D

debug(Object) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
debug(Exception) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
dryRun(AbstractTask...) - 类 中的方法com.github.myzhan.locust4j.Locust
Run tasks without connecting to master.
dryRun(List<AbstractTask>) - 类 中的方法com.github.myzhan.locust4j.Locust
Run tasks without connecting to master.

E

error(Object) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
error(Exception) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
error - 类 中的变量com.github.myzhan.locust4j.stats.StatsError
 
execute() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
Test scenarios should be implemented in this method, like sending http request.
execute() - 类 中的方法com.github.myzhan.locust4j.taskset.WeighingTaskSet
 

G

get(Long) - 类 中的方法com.github.myzhan.locust4j.message.LongIntMap
 
get(String, String) - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getBytes() - 类 中的方法com.github.myzhan.locust4j.message.Message
 
getClearStatsQueue() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getContentLength() - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
getData() - 类 中的方法com.github.myzhan.locust4j.message.Message
 
getError() - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
getHostname() - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
 
getInstance() - 类 中的静态方法com.github.myzhan.locust4j.Locust
Get the locust singleton.
getInstance() - 类 中的静态方法com.github.myzhan.locust4j.stats.Stats
 
getLastRequestTimestamp() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getMaxResponseTime() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getMessageToRunnerQueue() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getMethod() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getMinResponseTime() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getName() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
Get the name of task.
getName() - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
getName() - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
getName() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getName() - 类 中的方法com.github.myzhan.locust4j.taskset.WeighingTaskSet
 
getNodeID() - 类 中的方法com.github.myzhan.locust4j.message.Message
 
getNodeID() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
getNodeID() - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
 
getNumFailures() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getNumReqsPerSec() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getNumRequests() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getRateLimiter() - 类 中的方法com.github.myzhan.locust4j.Locust
Get the rate limiter
getReady() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
getReportFailureQueue() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getReportSuccessQueue() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getRequestType() - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
getRequestType() - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
getResponseTime() - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
getResponseTime() - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
getResponseTimes() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getRunner() - 类 中的方法com.github.myzhan.locust4j.Locust
 
getStartTime() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getState() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
getStrippedReport() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getTask(int) - 类 中的方法com.github.myzhan.locust4j.taskset.WeighingTaskSet
 
getTotal() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
getTotalContentLength() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getTotalResponseTime() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
getType() - 类 中的方法com.github.myzhan.locust4j.message.Message
 
getWeight() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
When locust runs multiple tasks, their weights are used to allocate threads.
getWeight() - 类 中的方法com.github.myzhan.locust4j.taskset.WeighingTaskSet
 

H

hatchComplete() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 

I

internalStore - 类 中的变量com.github.myzhan.locust4j.message.LongIntMap
 
isRateLimitEnabled() - 类 中的方法com.github.myzhan.locust4j.Locust
Return rateLimitEnabled
isStopped() - 类 中的方法com.github.myzhan.locust4j.ratelimit.AbstractRateLimiter
Is rate limiter stopped.
isStopped() - 类 中的方法com.github.myzhan.locust4j.ratelimit.RampUpRateLimiter
 
isStopped() - 类 中的方法com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
isVerbose() - 类 中的方法com.github.myzhan.locust4j.Locust
 

L

Locust - com.github.myzhan.locust4j中的类
Locust class exposes all the APIs of locust4j.
Log - com.github.myzhan.locust4j中的类
 
Log() - 类 的构造器com.github.myzhan.locust4j.Log
 
log(long, long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
logError(String, String, String) - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
logError(String) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
logRequest(String, String, long, long) - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
logResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
logTimeOfRequest() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
LongIntMap - com.github.myzhan.locust4j.message中的类
 
LongIntMap() - 类 的构造器com.github.myzhan.locust4j.message.LongIntMap
 

M

md5(String...) - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
 
Message - com.github.myzhan.locust4j.message中的类
 
Message(String, Map<String, Object>, String) - 类 的构造器com.github.myzhan.locust4j.message.Message
 
Message(byte[]) - 类 的构造器com.github.myzhan.locust4j.message.Message
 
method - 类 中的变量com.github.myzhan.locust4j.stats.StatsError
 

N

name - 类 中的变量com.github.myzhan.locust4j.stats.StatsError
 
nodeID - 类 中的变量com.github.myzhan.locust4j.runtime.Runner
Every locust4j instance registers a unique nodeID to the master when it makes a connection.
now() - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
Get the current timestamp in millis.
numClients - 类 中的变量com.github.myzhan.locust4j.runtime.Runner
Number of clients required by the master, locust4j use threads to simulate clients.

O

occured() - 类 中的方法com.github.myzhan.locust4j.stats.StatsError
 
occurences - 类 中的变量com.github.myzhan.locust4j.stats.StatsError
 

Q

quit() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 

R

RampUpRateLimiter - com.github.myzhan.locust4j.ratelimit中的类
A RampUpRateLimiter distributes permits at a ramp-up rate, in steps.
RampUpRateLimiter(long, long, long, TimeUnit, long, TimeUnit) - 类 的构造器com.github.myzhan.locust4j.ratelimit.RampUpRateLimiter
Creates a RampUpRateLimiter
recordFailure(String, String, long, String) - 类 中的方法com.github.myzhan.locust4j.Locust
Add a failed record, locust4j will collect it, and report to master.
recordSuccess(String, String, long, long) - 类 中的方法com.github.myzhan.locust4j.Locust
Add a successful record, locust4j will collect it, calculate things like RPS, and report to master.
recv() - 接口 中的方法com.github.myzhan.locust4j.rpc.Client
receive message from master
recv() - 类 中的方法com.github.myzhan.locust4j.rpc.ZeromqClient
 
RequestFailure - com.github.myzhan.locust4j.stats中的类
 
RequestFailure() - 类 的构造器com.github.myzhan.locust4j.stats.RequestFailure
 
RequestSuccess - com.github.myzhan.locust4j.stats中的类
 
RequestSuccess() - 类 的构造器com.github.myzhan.locust4j.stats.RequestSuccess
 
reset() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
round(long, int) - 类 中的静态方法com.github.myzhan.locust4j.utils.Utils
 
run() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
 
run(AbstractTask...) - 类 中的方法com.github.myzhan.locust4j.Locust
Add tasks to Runner, connect to master and wait for messages of master.
run(List<AbstractTask>) - 类 中的方法com.github.myzhan.locust4j.Locust
Add tasks to Runner, connect to master and wait for messages of master.
run() - 类 中的方法com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
run() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
User code reports successful and failed records to Stats.
Runner - com.github.myzhan.locust4j.runtime中的类
A Runner is a state machine that tells to the master, runs all tasks, collects test results and reports to the master.
Runner() - 类 的构造器com.github.myzhan.locust4j.runtime.Runner
 
RunnerState - com.github.myzhan.locust4j.runtime中的枚举
State of runner

S

send(Message) - 接口 中的方法com.github.myzhan.locust4j.rpc.Client
send message to master
send(Message) - 类 中的方法com.github.myzhan.locust4j.rpc.ZeromqClient
 
serialize() - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
serializeErrors() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
serializeStats() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
setContentLength(long) - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
setError(String) - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
setLastRequestTimestamp(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setMasterHost(String) - 类 中的方法com.github.myzhan.locust4j.Locust
Set the master host.
setMasterPort(int) - 类 中的方法com.github.myzhan.locust4j.Locust
Set the master port.
setMaxResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setMaxRPS(long) - 类 中的方法com.github.myzhan.locust4j.Locust
Limit max PRS that locust4j can generator.
setMethod(String) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setMinResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setName(String) - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
setName(String) - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
setName(String) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setNumFailures(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setNumReqsPerSec(LongIntMap) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setNumRequests(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setRateLimiter(AbstractRateLimiter) - 类 中的方法com.github.myzhan.locust4j.Locust
Set the rate limiter
setRequestType(String) - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
setRequestType(String) - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
setResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.RequestFailure
 
setResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.RequestSuccess
 
setResponseTimes(LongIntMap) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setRPCClient(Client) - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
setStartTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setStats(Stats) - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
setTasks(List<AbstractTask>) - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
setTotalContentLength(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setTotalResponseTime(long) - 类 中的方法com.github.myzhan.locust4j.stats.StatsEntry
 
setVerbose(boolean) - 类 中的方法com.github.myzhan.locust4j.Locust
Print out the internal log of locust4j, or not.
StableRateLimiter - com.github.myzhan.locust4j.ratelimit中的类
A StableRateLimiter distributes permits at a configurable rate.
StableRateLimiter(long) - 类 的构造器com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
StableRateLimiter(long, long, TimeUnit) - 类 的构造器com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
start() - 类 中的方法com.github.myzhan.locust4j.ratelimit.AbstractRateLimiter
rate limiter only works after started.
start() - 类 中的方法com.github.myzhan.locust4j.ratelimit.RampUpRateLimiter
 
start() - 类 中的方法com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
start() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
startHatching(int, int) - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
Stats - com.github.myzhan.locust4j.stats中的类
Stats collects test results from reportSuccessQueue and reportFailureQueue and reports to Runner every 3 seconds.
Stats() - 类 的构造器com.github.myzhan.locust4j.stats.Stats
Probably, you don't need to create Stats unless you are writing unit tests.
StatsEntry - com.github.myzhan.locust4j.stats中的类
 
StatsEntry(String) - 类 的构造器com.github.myzhan.locust4j.stats.StatsEntry
 
StatsEntry(String, String) - 类 的构造器com.github.myzhan.locust4j.stats.StatsEntry
 
StatsError - com.github.myzhan.locust4j.stats中的类
 
StatsError(String, String, String) - 类 的构造器com.github.myzhan.locust4j.stats.StatsError
 
stop() - 类 中的方法com.github.myzhan.locust4j.ratelimit.AbstractRateLimiter
Stop the rate limiter.
stop() - 类 中的方法com.github.myzhan.locust4j.ratelimit.RampUpRateLimiter
 
stop() - 类 中的方法com.github.myzhan.locust4j.ratelimit.StableRateLimiter
 
stop() - 类 中的方法com.github.myzhan.locust4j.runtime.Runner
 
stop() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 

T

tasks - 类 中的变量com.github.myzhan.locust4j.taskset.AbstractTaskSet
 
toMap() - 类 中的方法com.github.myzhan.locust4j.stats.StatsError
 
toString() - 类 中的方法com.github.myzhan.locust4j.message.LongIntMap
 
toString() - 类 中的方法com.github.myzhan.locust4j.message.Message
 

U

Utils - com.github.myzhan.locust4j.utils中的类
 
Utils() - 类 的构造器com.github.myzhan.locust4j.utils.Utils
 

V

valueOf(String) - 枚举 中的静态方法com.github.myzhan.locust4j.runtime.RunnerState
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.myzhan.locust4j.runtime.RunnerState
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
visit(Object) - 类 中的方法com.github.myzhan.locust4j.message.Visitor
 
Visitor - com.github.myzhan.locust4j.message中的类
 
Visitor(MessagePacker) - 类 的构造器com.github.myzhan.locust4j.message.Visitor
 

W

wakeMeUp() - 类 中的方法com.github.myzhan.locust4j.stats.Stats
 
WeighingTaskSet - com.github.myzhan.locust4j.taskset中的类
 
WeighingTaskSet(String, int) - 类 的构造器com.github.myzhan.locust4j.taskset.WeighingTaskSet
 

Z

ZeromqClient - com.github.myzhan.locust4j.rpc中的类
Locust used to support both plain-socket and zeromq.
ZeromqClient(String, int, String) - 类 的构造器com.github.myzhan.locust4j.rpc.ZeromqClient
 
A C D E G H I L M N O Q R S T U V W Z 
跳过导航链接

Copyright © 2019. All rights reserved.