A C D E F G H I L M N O P R S T V W

A

activateObject(Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
activateObject(Object, Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
addStatistics(SummaryStatistics, String, String) - Method in class org.apache.commons.performance.Statistics
Adds the results of the given SummaryStatistics instance under the key
adjustState(long) - Method in class org.apache.commons.performance.ClientThread
Adjusts cycleState, periodStart and lastMean if a cycle state transition needs to happen.

C

checkDatabase() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
cleanUp() - Method in class org.apache.commons.performance.ClientThread
Executed in finally block of iteration try-catch
cleanUp() - Method in class org.apache.commons.performance.dbcp.DBCPClientThread
Close connection
cleanUp() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
Close connection pool
cleanUp() - Method in class org.apache.commons.performance.http.HttpClientThread
Release http connection
cleanUp() - Method in class org.apache.commons.performance.LoadGenerator
This method is invoked by LoadGenerator.execute() after all spawned threads have terminated.
cleanUp() - Method in class org.apache.commons.performance.pool.PoolClientThread
 
cleanUp() - Method in class org.apache.commons.performance.pool.PoolSoak
Close object pool
ClientThread - Class in org.apache.commons.performance
Base for performance / load test clients.
ClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics) - Constructor for class org.apache.commons.performance.ClientThread
Create a client thread.
computeCyclicDelay(long, double, double) - Method in class org.apache.commons.performance.ClientThread
 
configFile - Variable in class org.apache.commons.performance.LoadGenerator
 
ConfigurationException - Exception in org.apache.commons.performance
 
ConfigurationException() - Constructor for exception org.apache.commons.performance.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.apache.commons.performance.ConfigurationException
 
ConfigurationException(String) - Constructor for exception org.apache.commons.performance.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception org.apache.commons.performance.ConfigurationException
 
configure() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
Add dbcp configuration to parameters loaded by super.
configure() - Method in class org.apache.commons.performance.http.HttpSoak
Add http client configuration to parameters loaded by super.
configure() - Method in class org.apache.commons.performance.LoadGenerator
Starts preparing Digester to parse the configuration file, pushing *this onto the stack and loading rules to configure basic "run" parameters.
configure() - Method in class org.apache.commons.performance.pool.PoolSoak
Add pool configuration to parameters loaded by super.
configureAbandonedConfig(String, String, String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configureAbandonedConfig(String, String, String) - Method in class org.apache.commons.performance.pool.PoolSoak
 
configureConnectionFactory(String, String, String, String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configureDataBase(String, String, String, String, String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configureDataSource(String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configureFactory(String, String, String, String, String, String) - Method in class org.apache.commons.performance.pool.PoolSoak
 
configureHttp(String, String, String, String) - Method in class org.apache.commons.performance.http.HttpSoak
 
configurePool(String, String, String, String, String, String, String, String, String, String, String, String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configurePool(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in class org.apache.commons.performance.pool.PoolSoak
 
configurePoolableConnectionFactory(String, String, String) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
configureRun(String, String, String, String, String, String, String, String, String, String, String) - Method in class org.apache.commons.performance.LoadGenerator
Configures basic run parameters.
cycleType - Variable in class org.apache.commons.performance.LoadGenerator
 

D

DBCPClientThread - Class in org.apache.commons.performance.dbcp
Client thread that executes requests in a loop using a configured DataSource, with the number of requests, time between requests and query strings governed by constructor parameters.
DBCPClientThread(long, long, long, double, String, String, long, long, long, String, String, Logger, DataSource, Statistics) - Constructor for class org.apache.commons.performance.dbcp.DBCPClientThread
Create a dbcp client thread.
DBCPSoak - Class in org.apache.commons.performance.dbcp
Configurable load / performance tester for commons dbcp.
DBCPSoak() - Constructor for class org.apache.commons.performance.dbcp.DBCPSoak
 
DBCPTest - Class in org.apache.commons.performance.dbcp
Load / performance test runner.
DBCPTest() - Constructor for class org.apache.commons.performance.dbcp.DBCPTest
 
delayType - Variable in class org.apache.commons.performance.LoadGenerator
 
destroyObject(Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
destroyObject(Object, Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
digester - Variable in class org.apache.commons.performance.LoadGenerator
 
displayOverallSummary() - Method in class org.apache.commons.performance.Statistics
Computes and formats display of summary statistics by type, across processes.
displayProcessStatistics(String) - Method in class org.apache.commons.performance.Statistics
Displays statistics for the given process
doWait() - Method in class org.apache.commons.performance.pool.Waiter
 
doWait(long) - Method in class org.apache.commons.performance.pool.WaiterFactory
 

E

execute() - Method in class org.apache.commons.performance.ClientThread
Core iteration code.
execute() - Method in class org.apache.commons.performance.dbcp.DBCPClientThread
Execute query
execute() - Method in class org.apache.commons.performance.http.HttpClientThread
Execute the http method against the target url.
execute() - Method in class org.apache.commons.performance.LoadGenerator
Invokes LoadGenerator.configure() to load digester rules, then digster.parse, then LoadGenerator.init() to initialize configuration members.
execute() - Method in class org.apache.commons.performance.pool.PoolClientThread
Borrow and return

F

finish() - Method in class org.apache.commons.performance.ClientThread
Executed once after the run finishes
finish() - Method in class org.apache.commons.performance.pool.PoolClientThread
 

G

getConfigFile() - Method in class org.apache.commons.performance.LoadGenerator
 
getConnectionPool() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
getCycleState() - Method in class org.apache.commons.performance.ClientThread
 
getCycleType() - Method in class org.apache.commons.performance.ClientThread
 
getDelayType() - Method in class org.apache.commons.performance.ClientThread
 
getDigester() - Method in class org.apache.commons.performance.LoadGenerator
 
getGenericKeyedObjectPool() - Method in class org.apache.commons.performance.pool.PoolSoak
 
getGenericObjectPool() - Method in class org.apache.commons.performance.pool.PoolSoak
 
getIterations() - Method in class org.apache.commons.performance.ClientThread
 
getLastMean() - Method in class org.apache.commons.performance.ClientThread
 
getLatency() - Method in class org.apache.commons.performance.pool.Waiter
 
getMaxActive() - Method in class org.apache.commons.performance.pool.WaiterFactory
 
getMaxDelay() - Method in class org.apache.commons.performance.ClientThread
 
getMaxSummary(String) - Method in class org.apache.commons.performance.Statistics
Returns SummaryStatistics for the maximum of the given metric across processes.
getMeanSummary(String) - Method in class org.apache.commons.performance.Statistics
Returns a SummaryStatistics instance describing the mean of the given metric across processes - i.e., the "mean of the means", the "min of the means" etc.
getMinDelay() - Method in class org.apache.commons.performance.ClientThread
 
getMinSummary(String) - Method in class org.apache.commons.performance.Statistics
Returns SummaryStatistics for the minimum of the given metric across processes.
getNumErrors() - Method in class org.apache.commons.performance.ClientThread
 
getNumMisses() - Method in class org.apache.commons.performance.ClientThread
 
getPeakPeriod() - Method in class org.apache.commons.performance.ClientThread
 
getPeriodStart() - Method in class org.apache.commons.performance.ClientThread
 
getProcesses() - Method in class org.apache.commons.performance.Statistics
Returns the List of processes corresponding to statistics.
getRampPeriod() - Method in class org.apache.commons.performance.ClientThread
 
getRampType() - Method in class org.apache.commons.performance.ClientThread
 
getSigma() - Method in class org.apache.commons.performance.ClientThread
 
getStartTime() - Method in class org.apache.commons.performance.ClientThread
 
getStatistics() - Method in class org.apache.commons.performance.LoadGenerator
 
getStatistics(String, String) - Method in class org.apache.commons.performance.Statistics
Retrieves the SummaryStatistics corresponding to the given process and type, if this exists; null otherwise.
getStatisticsByProcess(String) - Method in class org.apache.commons.performance.Statistics
Returns the full list of SummaryStatistics corresponding to the given process - i.e, the list of statistics of of different types maintained for the given process.
getStatisticsByType(String) - Method in class org.apache.commons.performance.Statistics
Returns the full list of SummaryStatistics corresponding to the given type - i.e, the list of statistics of the given type across processes.
getStats() - Method in class org.apache.commons.performance.ClientThread
 
getStdSummary(String) - Method in class org.apache.commons.performance.Statistics
Returns SummaryStatistics for the standard deviation of the given metric across processes.
getTroughPeriod() - Method in class org.apache.commons.performance.ClientThread
 
getTypes() - Method in class org.apache.commons.performance.Statistics
Returns the List of types corresponding to statistics.

H

HttpClientThread - Class in org.apache.commons.performance.http
Client thread that executes http requests in a loop against a configured url, with the number of requests, time between requests and query strings governed by constructor parameters.
HttpClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics, String, String, int, String) - Constructor for class org.apache.commons.performance.http.HttpClientThread
 
HttpSoak - Class in org.apache.commons.performance.http
Simple http load / performance tester, providing another LoadGenerator example.
HttpSoak() - Constructor for class org.apache.commons.performance.http.HttpSoak
 
HttpTest - Class in org.apache.commons.performance.http
Load / performance test runner.
HttpTest() - Constructor for class org.apache.commons.performance.http.HttpTest
 

I

init() - Method in class org.apache.commons.performance.ClientThread
Executed once at the beginning of the run
init() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
Create connection pool and, if necessary, test table.
init() - Method in class org.apache.commons.performance.http.HttpSoak
Nothing to do here yet
init() - Method in class org.apache.commons.performance.LoadGenerator
This method is invoked by LoadGenerator.execute() after LoadGenerator.configure() and digester parse, just before client threads are created.
init() - Method in class org.apache.commons.performance.pool.PoolSoak
Create object pool and factory
isActive() - Method in class org.apache.commons.performance.pool.Waiter
 
isValid() - Method in class org.apache.commons.performance.pool.Waiter
 

L

LoadGenerator - Class in org.apache.commons.performance
Base class for load / peformance test runners.
LoadGenerator() - Constructor for class org.apache.commons.performance.LoadGenerator
 
logger - Variable in class org.apache.commons.performance.ClientThread
Logger shared by client threads
logger - Static variable in class org.apache.commons.performance.LoadGenerator
logger
logger - Static variable in class org.apache.commons.performance.pool.WaiterFactory
 

M

main(String[]) - Static method in class org.apache.commons.performance.dbcp.DBCPTest
 
main(String[]) - Static method in class org.apache.commons.performance.http.HttpTest
 
main(String[]) - Static method in class org.apache.commons.performance.pool.PoolTest
 
makeClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics) - Method in class org.apache.commons.performance.dbcp.DBCPSoak
 
makeClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics) - Method in class org.apache.commons.performance.http.HttpSoak
 
makeClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics) - Method in class org.apache.commons.performance.LoadGenerator
 
makeClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics) - Method in class org.apache.commons.performance.pool.PoolSoak
Create and return a PoolClientThread
makeObject() - Method in class org.apache.commons.performance.pool.WaiterFactory
 
makeObject(Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
makeTable() - Method in class org.apache.commons.performance.dbcp.DBCPSoak
Creates and populates the test table (test_table) used in the load tests.
maxDelay - Variable in class org.apache.commons.performance.LoadGenerator
 
minDelay - Variable in class org.apache.commons.performance.LoadGenerator
 

N

nextDelay() - Method in class org.apache.commons.performance.ClientThread
Computes the next interarrival time (time to wait between requests) based on configured values for min/max delay, delay type, cycle type, ramp type and period.

O

org.apache.commons.performance - package org.apache.commons.performance
 
org.apache.commons.performance.dbcp - package org.apache.commons.performance.dbcp
 
org.apache.commons.performance.http - package org.apache.commons.performance.http
 
org.apache.commons.performance.pool - package org.apache.commons.performance.pool
 

P

parseConfigFile() - Method in class org.apache.commons.performance.LoadGenerator
 
passivateObject(Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
passivateObject(Object, Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
PEAK_LOAD - Static variable in class org.apache.commons.performance.ClientThread
 
peakPeriod - Variable in class org.apache.commons.performance.LoadGenerator
 
PoolClientThread - Class in org.apache.commons.performance.pool
Client thread that borrows and returns objects from a pool in a loop.
PoolClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics, ObjectPool, double) - Constructor for class org.apache.commons.performance.pool.PoolClientThread
Create a pool client thread for an ObjectPool.
PoolClientThread(long, long, long, double, String, long, long, long, String, String, Logger, Statistics, KeyedObjectPool, double) - Constructor for class org.apache.commons.performance.pool.PoolClientThread
Create a pool client thread for a KeyedObjectPool.
PoolSoak - Class in org.apache.commons.performance.pool
Configurable load / performance tester for commons pool.
PoolSoak() - Constructor for class org.apache.commons.performance.pool.PoolSoak
 
PoolTest - Class in org.apache.commons.performance.pool
Load / performance test runner.
PoolTest() - Constructor for class org.apache.commons.performance.pool.PoolTest
 

R

RAMPING_DOWN - Static variable in class org.apache.commons.performance.ClientThread
 
RAMPING_UP - Static variable in class org.apache.commons.performance.ClientThread
Cycle state constants
rampPeriod - Variable in class org.apache.commons.performance.LoadGenerator
 
rampType - Variable in class org.apache.commons.performance.LoadGenerator
 
randomData - Variable in class org.apache.commons.performance.ClientThread
Random data generator
reset() - Method in class org.apache.commons.performance.pool.WaiterFactory
 
run() - Method in class org.apache.commons.performance.ClientThread
 

S

setActive(boolean) - Method in class org.apache.commons.performance.pool.Waiter
 
setConfigFile(String) - Method in class org.apache.commons.performance.LoadGenerator
 
setCycleState(int) - Method in class org.apache.commons.performance.ClientThread
 
setDelayType(String) - Method in class org.apache.commons.performance.ClientThread
 
setLastMean(double) - Method in class org.apache.commons.performance.ClientThread
 
setLatency(long) - Method in class org.apache.commons.performance.pool.Waiter
 
setMaxActive(long) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
setMaxDelay(long) - Method in class org.apache.commons.performance.ClientThread
 
setMinDelay(long) - Method in class org.apache.commons.performance.ClientThread
 
setNumErrors(long) - Method in class org.apache.commons.performance.ClientThread
 
setNumMisses(long) - Method in class org.apache.commons.performance.ClientThread
 
setPeakPeriod(long) - Method in class org.apache.commons.performance.ClientThread
 
setPeriodStart(long) - Method in class org.apache.commons.performance.ClientThread
 
setRampPeriod(long) - Method in class org.apache.commons.performance.ClientThread
 
setRampType(String) - Method in class org.apache.commons.performance.ClientThread
 
setSigma(double) - Method in class org.apache.commons.performance.ClientThread
 
setStartTime(long) - Method in class org.apache.commons.performance.ClientThread
 
setTroughPeriod(long) - Method in class org.apache.commons.performance.ClientThread
 
setUp() - Method in class org.apache.commons.performance.ClientThread
Executed at the beginning of each iteration
setUp() - Method in class org.apache.commons.performance.dbcp.DBCPClientThread
Generate a random query
setUp() - Method in class org.apache.commons.performance.http.HttpClientThread
Nothing to do here at this point
setValid(boolean) - Method in class org.apache.commons.performance.pool.Waiter
 
sigma - Variable in class org.apache.commons.performance.LoadGenerator
 
Statistics - Class in org.apache.commons.performance
Container for SummaryStatistics accumulated during ClientThread executions.
Statistics() - Constructor for class org.apache.commons.performance.Statistics
 
stats - Variable in class org.apache.commons.performance.ClientThread
Statistics container

T

TROUGH_LOAD - Static variable in class org.apache.commons.performance.ClientThread
 
troughPeriod - Variable in class org.apache.commons.performance.LoadGenerator
 

V

validateObject(Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 
validateObject(Object, Object) - Method in class org.apache.commons.performance.pool.WaiterFactory
 

W

Waiter - Class in org.apache.commons.performance.pool
Object created by WaiterFactory.
Waiter(boolean, boolean, long) - Constructor for class org.apache.commons.performance.pool.Waiter
 
WaiterFactory - Class in org.apache.commons.performance.pool
Object factory with configurable latencies for object lifecycle methods.
WaiterFactory(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.performance.pool.WaiterFactory
 
WaiterFactory(long, long, long, long, long, long) - Constructor for class org.apache.commons.performance.pool.WaiterFactory
 
WaiterFactory(long, long, long, long, long, long, long) - Constructor for class org.apache.commons.performance.pool.WaiterFactory
 

A C D E F G H I L M N O P R S T V W

Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.