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

A

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

C

CLEAR_STATS - 类 中的静态变量com.github.myzhan.locust4j.Queues
 
clearAll() - 类 中的方法com.github.myzhan.locust4j.Stats
 
Client - com.github.myzhan.locust4j中的接口
 
collectReportData() - 类 中的方法com.github.myzhan.locust4j.Stats
 
com.github.myzhan.locust4j - 程序包 com.github.myzhan.locust4j
 
com.github.myzhan.locust4j.examples - 程序包 com.github.myzhan.locust4j.examples
 
currentTimeInSeconds() - 类 中的静态方法com.github.myzhan.locust4j.Utils
Get the current timestamp in seconds.

D

debug(Object) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
debug(Exception) - 类 中的静态方法com.github.myzhan.locust4j.Log
 
DISCONNECTED_FROM_MASTER - 类 中的静态变量com.github.myzhan.locust4j.Queues
 
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
 
execute() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
 
execute() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysFail
 
execute() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysSuccess
 

G

get(String, String) - 类 中的方法com.github.myzhan.locust4j.Stats
 
getBytes() - 类 中的方法com.github.myzhan.locust4j.Message
 
getData() - 类 中的方法com.github.myzhan.locust4j.Message
 
getInstance() - 类 中的静态方法com.github.myzhan.locust4j.Locust
Get a locust singleton.
getInstance() - 类 中的静态方法com.github.myzhan.locust4j.Runner
 
getInstance() - 类 中的静态方法com.github.myzhan.locust4j.Stats
 
getMaxRPS() - 类 中的方法com.github.myzhan.locust4j.Locust
 
getMaxRPSThreshold() - 类 中的方法com.github.myzhan.locust4j.Locust
 
getName() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
 
getName() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysFail
 
getName() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysSuccess
 
getNodeID() - 类 中的静态方法com.github.myzhan.locust4j.Utils
 
getReady() - 类 中的方法com.github.myzhan.locust4j.Runner
 
getState() - 类 中的方法com.github.myzhan.locust4j.Runner
 
getTaskSyncLock() - 类 中的方法com.github.myzhan.locust4j.Locust
 
getTotal() - 类 中的方法com.github.myzhan.locust4j.Stats
 
getType() - 类 中的方法com.github.myzhan.locust4j.Message
 
getWeight() - 类 中的方法com.github.myzhan.locust4j.AbstractTask
 
getWeight() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysFail
 
getWeight() - 类 中的方法com.github.myzhan.locust4j.examples.TaskAlwaysSuccess
 

H

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

I

isMaxRPSEnabled() - 类 中的方法com.github.myzhan.locust4j.Locust
 
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
 
logError(String, String, String) - 类 中的方法com.github.myzhan.locust4j.Stats
 
logRequest(String, String, long, long) - 类 中的方法com.github.myzhan.locust4j.Stats
 

M

Main - com.github.myzhan.locust4j.examples中的类
 
Main() - 类 的构造器com.github.myzhan.locust4j.examples.Main
 
main(String[]) - 类 中的静态方法com.github.myzhan.locust4j.examples.Main
 
md5(String...) - 类 中的静态方法com.github.myzhan.locust4j.Utils
 
Message - com.github.myzhan.locust4j中的类
 
Message(byte[]) - 类 的构造器com.github.myzhan.locust4j.Message
 
Message(String, Map, String) - 类 的构造器com.github.myzhan.locust4j.Message
 
MESSAGE_FROM_MASTER - 类 中的静态变量com.github.myzhan.locust4j.Queues
 
MESSAGE_TO_MASTER - 类 中的静态变量com.github.myzhan.locust4j.Queues
 

N

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

Q

Queues - com.github.myzhan.locust4j中的类
Every components of locust4j use queues to communicate to each other.
Queues() - 类 的构造器com.github.myzhan.locust4j.Queues
 
quit() - 类 中的方法com.github.myzhan.locust4j.Runner
 

R

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.Client
receive message from master
recv() - 类 中的方法com.github.myzhan.locust4j.ZeromqClient
 
REPORT_FAILURE_TO_STATS - 类 中的静态变量com.github.myzhan.locust4j.Queues
 
REPORT_SUCCESS_TO_STATS - 类 中的静态变量com.github.myzhan.locust4j.Queues
User code reports successful and failed records to Stats, by adding message to these queue.
REPORT_TO_RUNNER - 类 中的静态变量com.github.myzhan.locust4j.Queues
 
round(long, int) - 类 中的静态方法com.github.myzhan.locust4j.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.Stats
 
Runner - com.github.myzhan.locust4j中的类
Runner is the core role that runs all tasks, collects test results and reports to the master.

S

send(Message) - 接口 中的方法com.github.myzhan.locust4j.Client
send message to master
send(Message) - 类 中的方法com.github.myzhan.locust4j.ZeromqClient
 
serializeErrors() - 类 中的方法com.github.myzhan.locust4j.Stats
 
serializeStats() - 类 中的方法com.github.myzhan.locust4j.Stats
 
setMasterHost(String) - 类 中的方法com.github.myzhan.locust4j.Locust
Set master host.
setMasterPort(int) - 类 中的方法com.github.myzhan.locust4j.Locust
Set master port.
setMaxRPS(long) - 类 中的方法com.github.myzhan.locust4j.Locust
Limit max PRS that locust4j can generator.
setTasks(List<AbstractTask>) - 类 中的方法com.github.myzhan.locust4j.Runner
 
setVerbose(boolean) - 类 中的方法com.github.myzhan.locust4j.Locust
 
startHatching(int, int) - 类 中的方法com.github.myzhan.locust4j.Runner
 
Stats - com.github.myzhan.locust4j中的类
Stats collects test results from Queues.REPORT_SUCCESS_TO_STATS and Queues.REPORT_FAILURE_TO_STATS and reports to Runner with an interval of 3 seconds.
stop() - 类 中的方法com.github.myzhan.locust4j.Runner
 
submitToCoreThreadPool(Runnable) - 类 中的方法com.github.myzhan.locust4j.Locust
Submit runnable to core threadpool of locust4j.

T

TaskAlwaysFail - com.github.myzhan.locust4j.examples中的类
 
TaskAlwaysFail() - 类 的构造器com.github.myzhan.locust4j.examples.TaskAlwaysFail
 
TaskAlwaysSuccess - com.github.myzhan.locust4j.examples中的类
 
TaskAlwaysSuccess() - 类 的构造器com.github.myzhan.locust4j.examples.TaskAlwaysSuccess
 
TIME_TO_REPORT - 类 中的静态变量com.github.myzhan.locust4j.Queues
 

U

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

W

wakeMeUp() - 类 中的方法com.github.myzhan.locust4j.Stats
 
weight - 类 中的变量com.github.myzhan.locust4j.examples.TaskAlwaysFail
 
weight - 类 中的变量com.github.myzhan.locust4j.examples.TaskAlwaysSuccess
 

Z

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

Copyright © 2018. All rights reserved.