Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
A
ABResults
- class juju.reattore.perfcap.tester.impl.
ABResults
.
Results from running ApacheBench.
ABResults()
- Constructor for class juju.reattore.perfcap.tester.impl.
ABResults
ABTester
- class juju.reattore.perfcap.tester.impl.
ABTester
.
Tests a HTTP server using ApacheBench.
ABTester()
- Constructor for class juju.reattore.perfcap.tester.impl.
ABTester
ACCEPT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accept
ACCEPT_CHARSET
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accept-Charset
ACCEPT_ENCODING
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accept-Encoding
ACCEPT_LANGUAGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accept-Language
ACCEPT_RANGES
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accept-Ranges
ACCEPTED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Accepted
add(ByteSource)
- Method in interface juju.reattore.protocol.http.
HttpParser
Takes the next set of data and parses it into headers and body as the data is made available.
add(ByteSource)
- Method in class juju.reattore.protocol.http.impl.
BasicHttpParser
add(int)
- Method in class juju.reattore.util.
RateStat
Adds a number of hits to this stat.
add(List, Results)
- Method in interface juju.reattore.perfcap.reporter.
Reporter
Add a new data point to the report.
add(List, Results)
- Method in class juju.reattore.perfcap.reporter.impl.
VelocityReporter
add(List, Results)
- Method in class juju.reattore.perfcap.reporter.impl.
CSVReporter
add(List, Results)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
add(Object, Object)
- Method in class juju.reattore.util.
MapOfLists
Adds a new element to the List identified by 'obj'
add(PushbackByteSource)
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Parse the line.
add(PushbackByteSource)
- Method in class juju.reattore.protocol.http.impl.
HeaderParser
Parse HTTP headers.
add(String, Interceptor)
- Method in class juju.reattore.server.intercept.impl.
PartitioningInterceptor
Add a new child that handles 'path' and below.
add(String, String)
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Set a value.
addChild(Interceptor)
- Method in class juju.reattore.server.http.
HttpServer
Configures the top level interceptor.
addChild(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
Target
PENDING: addChild
addChild(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
ErrorInterceptor
Accessor to help Digester configuration.
addChild(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
DelegatingInterceptor
Adds a new child to delegate to.
addChild(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
CachingInterceptor
Set the child to cache.
addDirectoryIndex(String)
- Method in class juju.reattore.server.intercept.impl.
FileInterceptor
Adds a file that the server will try for if a directory is requested.
addExtMap(ExtMap)
- Method in class juju.reattore.server.intercept.impl.
FileInterceptor
Adds a mapping between extension and mime type.
addHeader(String, String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
Receives a new header from the parser.
addReporter(Reporter)
- Method in class juju.reattore.perfcap.
PerfCap
Adds a reporter to call.
addTarget(Target)
- Method in class juju.reattore.server.intercept.impl.
PartitioningInterceptor
Configuration helper method.
addTarget(URL)
- Method in interface juju.reattore.loadtest.controller.
Chooser
Adds a target URL to choose from
addTarget(URL)
- Method in class juju.reattore.loadtest.controller.impl.
RoundRobinChooser
addTester(Tester)
- Method in class juju.reattore.perfcap.
PerfCap
Adds a tester to run.
addVariable(Variable)
- Method in class juju.reattore.perfcap.
PerfCap
Adds an independant variable.
addVariable(Variable)
- Method in class juju.reattore.perfcap.var.impl.
ListVar
Adds a new child to this list.
AGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Age
allocate(int)
- Static method in class juju.reattore.io.impl.
ByteBufferPool
Allocate a buffer of at least minSize in size.
ALLOW
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Allow
array()
- Method in class juju.reattore.io.impl.
ByteSourceSink
Returns the array backing this source/sink.
asByteBuffer(ByteSource)
- Static method in class juju.reattore.io.impl.
SourceHelper
Return a source as a NIO ByteBuffer.
attach(ServerSocketChannel, ServerSocketHandler)
- Method in interface juju.reattore.core.reactor.
ServerSocketReactor
Binds this reactor to a new handler and socket.
attach(ServerSocketChannel, ServerSocketHandler)
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
attach(SocketChannel, ClientSocketHandler)
- Method in interface juju.reattore.core.reactor.
ClientSocketReactor
Binds this reactor to a new handler and socket.
attach(SocketChannel, ClientSocketHandler)
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
AUTHORIZATION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Authorization
AutoIndexInterceptor
- class juju.reattore.server.intercept.impl.
AutoIndexInterceptor
.
An interceptor that will generate a pretty index of the requested directory.
AutoIndexInterceptor.Helper
- class juju.reattore.server.intercept.impl.
AutoIndexInterceptor.Helper
.
Passed to the template to be used for various formatting tasks.
AutoIndexInterceptor.Helper()
- Constructor for class juju.reattore.server.intercept.impl.
AutoIndexInterceptor.Helper
AutoIndexInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
AutoIndexInterceptor
B
BAD_GATEWAY
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Bad Gateway
BAD_REQUEST
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Bad Request
Base64
- class juju.reattore.util.
Base64
.
Provides encoding of raw bytes to base64-encoded characters, and decoding of base64 characters to raw bytes.
Base64()
- Constructor for class juju.reattore.util.
Base64
BaseController
- class juju.reattore.loadtest.controller.impl.
BaseController
.
Base implementation of a controller.
BaseController(Chooser, ClientSocketReactor)
- Constructor for class juju.reattore.loadtest.controller.impl.
BaseController
Create a new controller.
BaseHttpRequest
- class juju.reattore.protocol.http.impl.
BaseHttpRequest
.
HTTP request implementation.
BaseHttpRequest()
- Constructor for class juju.reattore.protocol.http.impl.
BaseHttpRequest
BaseHttpResponse
- class juju.reattore.protocol.http.impl.
BaseHttpResponse
.
Basic HTTP response implementation.
BaseHttpResponse()
- Constructor for class juju.reattore.protocol.http.impl.
BaseHttpResponse
BaseStat
- class juju.reattore.util.
BaseStat
.
Base implementation of a statistic module.
BaseStat(Class, String)
- Constructor for class juju.reattore.util.
BaseStat
Create a new statistic for the given class and leaf name.
BasicHttpParser
- class juju.reattore.protocol.http.impl.
BasicHttpParser
.
Stateful HTTP parser that will parse blocks of bytes as they are fed in.
BasicHttpParser()
- Constructor for class juju.reattore.protocol.http.impl.
BasicHttpParser
Creates a new parser.
begin()
- Method in interface juju.reattore.perfcap.var.
Variable
Initialises and resets this variable.
begin()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
begin()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
begin()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
BulkByteSource
- interface juju.reattore.io.
BulkByteSource
.
A source that can also serve a large chunk directly as a byte buffer.
ByteBufferPool
- class juju.reattore.io.impl.
ByteBufferPool
.
A pool for a set of ByteBuffers.
ByteBufferPool()
- Constructor for class juju.reattore.io.impl.
ByteBufferPool
ByteBufferSource
- class juju.reattore.io.impl.
ByteBufferSource
.
A thin wrapper around the ByteBuffer API that implements the Reattore IO API.
ByteBufferSource()
- Constructor for class juju.reattore.io.impl.
ByteBufferSource
Internal constructor for derrivitaves that wish to set the buffer later.
ByteBufferSource(byte[])
- Constructor for class juju.reattore.io.impl.
ByteBufferSource
Create a new source containing the given array data.
ByteBufferSource(ByteBuffer)
- Constructor for class juju.reattore.io.impl.
ByteBufferSource
Create a new source wrapper around the given ByteBuffer.
ByteSink
- interface juju.reattore.io.
ByteSink
.
A sink that nativly handles bytes.
ByteSource
- interface juju.reattore.io.
ByteSource
.
A source that serves bytes.
ByteSourceSink
- class juju.reattore.io.impl.
ByteSourceSink
.
Buffer that may be used for temporary storage and which is backed by a byte array.
ByteSourceSink()
- Constructor for class juju.reattore.io.impl.
ByteSourceSink
Creates a new, empty source/sink
ByteSourceSink(byte[])
- Constructor for class juju.reattore.io.impl.
ByteSourceSink
Creates a new source/sink and populates it.
C
CachableInterceptor
- interface juju.reattore.server.intercept.
CachableInterceptor
.
An interceptor that generates results that can be cached.
CachableSource
- interface juju.reattore.io.
CachableSource
.
A source that can be cached and that manages it's expiration and re-use.
Cache
- interface juju.reattore.io.
Cache
.
A source that can be cached and that manages it's expiration and re-use.
CACHE_CONTROL
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Cache-Control
CachingInterceptor
- class juju.reattore.server.intercept.impl.
CachingInterceptor
.
Interceptor that may cache the response from a lower level interceptor.
CachingInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
CachingInterceptor
changePath(String)
- Method in interface juju.reattore.protocol.http.
HttpRequest
Override the current path.
changePath(String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
ChannelFileSource
- class juju.reattore.io.impl.
ChannelFileSource
.
A byte source that serves from a file using channels.
ChannelFileSource(File)
- Constructor for class juju.reattore.io.impl.
ChannelFileSource
Create a new source around the given file.
ChartReporter
- class juju.reattore.perfcap.reporter.impl.
ChartReporter
.
Generates a XY chart with multiple series from the input data.
ChartReporter()
- Constructor for class juju.reattore.perfcap.reporter.impl.
ChartReporter
CharUtil
- class juju.reattore.util.
CharUtil
.
Shared character utility methods.
CharUtil()
- Constructor for class juju.reattore.util.
CharUtil
Chooser
- interface juju.reattore.loadtest.controller.
Chooser
.
A chooser takes a set of URLs and provides them to the controller on request.
ClientSocketHandler
- interface juju.reattore.core.reactor.
ClientSocketHandler
.
Callback interface related to a client socket channel.
ClientSocketReactor
- interface juju.reattore.core.reactor.
ClientSocketReactor
.
Interface for a system that can manage client socket channels.
CLOSE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Connection: close
close()
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
Causes this reactor to stop once all of the handlers are done.
CombinedReactor
- class juju.reattore.core.reactor.impl.
CombinedReactor
.
Base implementation of a combined server/client reactor
CombinedReactor()
- Constructor for class juju.reattore.core.reactor.impl.
CombinedReactor
Creates a new reactor.
CommandLineVar
- class juju.reattore.perfcap.var.impl.
CommandLineVar
.
A 'Variable' that actually starts a background process.
CommandLineVar()
- Constructor for class juju.reattore.perfcap.var.impl.
CommandLineVar
compact()
- Method in class juju.reattore.io.impl.
ByteSourceSink
Compacts the backing buffer to comtain just the data.
compareTo(Object)
- Method in class juju.reattore.io.impl.
ByteSourceSink
Compares this stream to a byte array.
CONFLICT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Conflict
connect(SocketChannel, SocketAddress, ClientSocketHandler)
- Method in interface juju.reattore.core.reactor.
ClientSocketReactor
Similar to #attach, but takes a currently unconnected socket, connects it, and manages it.
connect(SocketChannel, SocketAddress, ClientSocketHandler)
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
CONNECTION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Connection
CONTENT_ENCODING
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Encoding
CONTENT_LANGUAGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Language
CONTENT_LENGTH
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Length
CONTENT_LOCATION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Location
CONTENT_MD5
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-MD5
CONTENT_RANGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Range
CONTENT_TYPE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Content-Type
CONTINUE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Continue
Controller
- interface juju.reattore.loadtest.controller.
Controller
.
A controller is the central point in a load test.
CounterStat
- class juju.reattore.util.
CounterStat
.
Statistic module that manages a count.
CounterStat(Class, String)
- Constructor for class juju.reattore.util.
CounterStat
create()
- Static method in class juju.reattore.protocol.http.impl.
HttpParserHelper
Create a new parser.
CREATED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Created
createMapOfLists()
- Method in class juju.reattore.util.
Toolbox
Create a new MapOfLists
CSVReporter
- class juju.reattore.perfcap.reporter.impl.
CSVReporter
.
Writes a report to a CSV file.
CSVReporter()
- Constructor for class juju.reattore.perfcap.reporter.impl.
CSVReporter
CSVTester
- class juju.reattore.perfcap.tester.impl.
CSVTester
.
'Tests' using previously recorded data.
CSVTester()
- Constructor for class juju.reattore.perfcap.tester.impl.
CSVTester
D
DATE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Date
dec()
- Method in class juju.reattore.util.
GaugeStat
Decreases this gauge.
decode(char[])
- Static method in class juju.reattore.util.
Base64
Decodes a BASE-64 encoded stream to recover the original data.
DelegatingInterceptor
- class juju.reattore.server.intercept.impl.
DelegatingInterceptor
.
Interceptor that delegates to child interceptors in the order that they were added.
DelegatingInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
DelegatingInterceptor
destroy()
- Method in class juju.reattore.util.
Spawner
Kills the process if it is not yet finished.
dispose()
- Method in interface juju.reattore.io.
Source
Called when the user is finished with this source.
dispose()
- Method in class juju.reattore.io.impl.
PushbackByteSource
Called when the user is finished with this source.
dispose()
- Method in class juju.reattore.io.impl.
ChannelFileSource
dispose()
- Method in class juju.reattore.io.impl.
ByteSourceSink
dispose()
- Method in class juju.reattore.io.impl.
ByteBufferSource
doAttach(SocketChannel, ClientSocketHandler)
- Method in class juju.reattore.server.http.
HttpMediator
Called by the server handler to attach a new client handler to the shared reactor.
DurationStat
- class juju.reattore.util.
DurationStat
.
Statistic module that manages durations.
DurationStat(Class, String)
- Constructor for class juju.reattore.util.
DurationStat
E
encode(byte[])
- Static method in class juju.reattore.util.
Base64
returns an array of base64-encoded characters to represent the passed data array.
end()
- Method in interface juju.reattore.perfcap.reporter.
Reporter
Notifys this reporter that all of the data points have been processed.
end()
- Method in class juju.reattore.perfcap.reporter.impl.
VelocityReporter
end()
- Method in class juju.reattore.perfcap.reporter.impl.
CSVReporter
end()
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
end()
- Method in interface juju.reattore.perfcap.var.
Variable
Called when done with this variable.
end()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
end()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
end()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
end(long)
- Method in class juju.reattore.util.
DurationStat
Commit a event using a reference from #start
entrySet()
- Method in class juju.reattore.util.
MapOfLists
All of the lists in order created.
EOF
- Static variable in interface juju.reattore.io.
Source
Returned from get on end of stream.
EOF
- Static variable in class juju.reattore.util.
PushbackArray
Returned when all bytes have been read.
ErrorInterceptor
- class juju.reattore.server.intercept.impl.
ErrorInterceptor
.
Interceptor that serves an error document if the main path can't find anything.
ErrorInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
ErrorInterceptor
ETAG
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
ETag
exitValue()
- Method in class juju.reattore.util.
Spawner
The exit code of the process, if present.
EXPECT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Expect
EXPECTATION_FAILED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Expectation Failed
EXPIRES
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Expires
ExtMap
- class juju.reattore.server.intercept.impl.
ExtMap
.
Extension to mime type mapping.
ExtMap()
- Constructor for class juju.reattore.server.intercept.impl.
ExtMap
F
FallbackErrorInterceptor
- class juju.reattore.server.intercept.impl.
FallbackErrorInterceptor
.
Last chance error handler that returns a simple HTML page.
FallbackErrorInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
FallbackErrorInterceptor
Use the default message.
FileCache
- class juju.reattore.server.intercept.impl.
FileCache
.
A simple request based cache for ChannelFileSources.
FileCache()
- Constructor for class juju.reattore.server.intercept.impl.
FileCache
FileInterceptor
- class juju.reattore.server.intercept.impl.
FileInterceptor
.
Interceptor that serves up files.
FileInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
FileInterceptor
Default Bean constructor.
FileInterceptor(String)
- Constructor for class juju.reattore.server.intercept.impl.
FileInterceptor
Create a new FileInterceptor using the given directory as the base directory.
FileSource
- interface juju.reattore.io.
FileSource
.
A byte source that serves from a file.
FORBIDDEN
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Forbidden
format()
- Method in interface juju.reattore.util.
Stat
Summarises this statistic in a user readable way.
format()
- Method in class juju.reattore.util.
BaseStat
Summarise this statistic as a string.
formatTimestamp(long)
- Method in class juju.reattore.server.intercept.impl.
AutoIndexInterceptor.Helper
Formats the timestamp to the style set through #setTimestampFormat.
FOUND
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Found
FROM
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
From
fromNibble(int)
- Static method in class juju.reattore.util.
CharUtil
Turns the given character into it's hex value using the HTTP HEX rules.
G
GATEWAY_TIME_OUT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Gateway Time-out
GaugeStat
- class juju.reattore.util.
GaugeStat
.
Statistic module that manages a gauge.
GaugeStat(Class, String)
- Constructor for class juju.reattore.util.
GaugeStat
get()
- Method in interface juju.reattore.io.
ByteSource
Gets the next byte from the stream.
get()
- Method in class juju.reattore.io.impl.
PushbackByteSource
get()
- Method in class juju.reattore.io.impl.
ChannelFileSource
get()
- Method in class juju.reattore.io.impl.
ByteSourceSink
get()
- Method in class juju.reattore.io.impl.
ByteBufferSource
get()
- Method in class juju.reattore.util.
PushbackArray
Returns the next byte in the pushback or input, or EOF if everything has been read.
get(byte[], int, int)
- Method in interface juju.reattore.io.
ByteSource
Bulk get operation.
get(byte[], int, int)
- Method in class juju.reattore.io.impl.
PushbackByteSource
get(byte[], int, int)
- Method in class juju.reattore.io.impl.
ChannelFileSource
get(byte[], int, int)
- Method in class juju.reattore.io.impl.
ByteSourceSink
get(byte[], int, int)
- Method in class juju.reattore.io.impl.
ByteBufferSource
get(Object)
- Method in class juju.reattore.util.
MapOfLists
Fetch a list by key.
get(String, File)
- Method in class juju.reattore.server.intercept.impl.
FileCache
Fetch from the cache or from disk, throwing on failure.
getAll()
- Static method in class juju.reattore.util.
StatRegistry
Get a list of all of the stats in the registry.
getAverage()
- Method in class juju.reattore.util.
DurationStat
Average over the whole run.
getBackingBuffer()
- Method in class juju.reattore.io.impl.
ByteBufferSource
Gives direct access to the backing buffer of this source for copy operations.
getBody()
- Method in interface juju.reattore.protocol.http.
HttpResponse
Gets the source to read the body from.
getBody()
- Method in interface juju.reattore.protocol.http.
HttpMessage
Gets the message body as a stream.
getBody()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
getBody()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getBulk()
- Method in interface juju.reattore.io.
BulkByteSource
Returns the next chunk of the source in a ByteBuffer.
getBulk()
- Method in class juju.reattore.io.impl.
ChannelFileSource
getChild()
- Method in class juju.reattore.server.intercept.impl.
Target
PENDING: getChild
getCompletedRequests()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Completed requests.
getConcurrencyLevel()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Concurrency Level.
getCount()
- Method in class juju.reattore.util.
RateStat
Get the total number of samples added.
getCount()
- Method in class juju.reattore.util.
GaugeStat
Get the total number of samples added.
getCount()
- Method in class juju.reattore.util.
CounterStat
The number of times this stat has been hit.
getCurrent()
- Method in class juju.reattore.util.
GaugeStat
Get the current value of the gauge.
getDefaultFormat()
- Method in class juju.reattore.util.
RateStat
getDefaultFormat()
- Method in class juju.reattore.util.
GaugeStat
getDefaultFormat()
- Method in class juju.reattore.util.
DurationStat
getDefaultFormat()
- Method in class juju.reattore.util.
CounterStat
getDefaultFormat()
- Method in class juju.reattore.util.
BaseStat
Returns the default format string to use.
getDocumentLength()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Document Length.
getDocumentPath()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Document Path.
getFailedRequests()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Failed requests.
getFormatArgs()
- Method in class juju.reattore.util.
RateStat
getFormatArgs()
- Method in class juju.reattore.util.
GaugeStat
getFormatArgs()
- Method in class juju.reattore.util.
DurationStat
getFormatArgs()
- Method in class juju.reattore.util.
CounterStat
getFormatArgs()
- Method in class juju.reattore.util.
BaseStat
Returns the argument list used in formatting the summary.
getHeader(String)
- Method in interface juju.reattore.protocol.http.
HttpMessage
Gets a header line.
getHeader(String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
getHeader(String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getHeaders()
- Method in interface juju.reattore.protocol.http.
HttpMessage
Gets all headers as a set of Map.Entry items.
getHeaders()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
getHeaders()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getInterceptor()
- Method in class juju.reattore.server.http.
HttpMediator
Get the top level interceptor a client should serve against.
getInterestOps()
- Method in interface juju.reattore.core.reactor.
Handler
Returns the set of operations this handler is currently interested in.
getInterestOps()
- Method in class juju.reattore.loadtest.controller.impl.
URLTester
getInterestOps()
- Method in class juju.reattore.server.http.
HttpServerHandler
getInterestOps()
- Method in class juju.reattore.server.http.
HttpClientHandler
getMaximum()
- Method in class juju.reattore.util.
GaugeStat
Get the maximum value this gauge has ever had.
getMaximum()
- Method in class juju.reattore.util.
DurationStat
Maximum value.
getMethod()
- Method in interface juju.reattore.protocol.http.
HttpRequest
Gets the request method, such as GET, POST, or PUT.
getMethod()
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Gets the parsed method.
getMethod()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getMinimum()
- Method in class juju.reattore.util.
DurationStat
Minimum value.
getName()
- Method in interface juju.reattore.perfcap.var.
Variable
The name of this variable.
getName()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
getName()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
getName()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
getName()
- Method in interface juju.reattore.util.
Stat
Returns the name of this statistic, which is of the format foo.bar.leaf.
getName()
- Method in class juju.reattore.util.
NameValue
Gets the name.
getName()
- Method in class juju.reattore.util.
BaseStat
Returns the fully qualified name of this stat.
getNext()
- Method in interface juju.reattore.loadtest.controller.
Chooser
Returns the next URL in the sequence.
getNext()
- Method in class juju.reattore.loadtest.controller.impl.
RoundRobinChooser
getNumHeaders()
- Method in interface juju.reattore.protocol.http.
HttpMessage
Gets the number of parsed headers not including the start line.
getNumHeaders()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
getNumHeaders()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getNumSamples()
- Method in class juju.reattore.util.
DurationStat
Number of hits
getOriginalPath()
- Method in interface juju.reattore.protocol.http.
HttpRequest
Gets the original request path, such as /dir/file.html.
getOriginalPath()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getOutput()
- Method in class juju.reattore.util.
Spawner
The processes stdout and stderr, combined, as a list of strings.
getPath()
- Method in interface juju.reattore.protocol.http.
HttpRequest
Gets the request path, such as /dir/file.html.
getPath()
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Gets the parsed path.
getPath()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getPath()
- Method in class juju.reattore.server.intercept.impl.
Target
PENDING: getPath
getPropertyName(String)
- Method in class juju.reattore.util.
Toolbox
Turn a method name into a Bean property name.
getQuery()
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Gets the parsed query.
getQueryString()
- Method in interface juju.reattore.protocol.http.
HttpRequest
Gets the request query string, such as name=val&name=val
getQueryString()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getRequestsPerSecond()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Requests per second.
getRunningAverage()
- Method in class juju.reattore.util.
DurationStat
Running average over a recent set of samples.
getRunningRate()
- Method in class juju.reattore.util.
RateStat
Get the number of hits per second since this method was last called.
getRunTime()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Time taken for tests.
getServerHostname()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Server Hostname.
getServerPort()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Server Port.
getServerSoftware()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Server Software.
getShortClassName(String)
- Method in class juju.reattore.util.
Toolbox
Turn a fully qualified class name into the base name.
getStatus()
- Method in interface juju.reattore.protocol.http.
HttpResponse
Gets the response status.
getStatus()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
getTimePerRequest()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Time per request.
getTotalBytes()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Total transferred.
getTotalHtml()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
HTML transferred.
getTransferRate()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Transfer rate.
getValue()
- Method in interface juju.reattore.perfcap.var.
Variable
The current value of this variable.
getValue()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
getValue()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
getValue()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
getValue()
- Method in class juju.reattore.util.
NameValue
Gets the value.
getVersion()
- Method in interface juju.reattore.protocol.http.
HttpRequest
Gets the request HTTP version, such as HTTP/1.1
getVersion()
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Gets the parsed version.
getVersion()
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
getWriteErrors()
- Method in class juju.reattore.perfcap.tester.impl.
ABResults
Write errors.
go()
- Method in class juju.reattore.
Reattore
Creates and starts the server.
go()
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
Hands over execution to this reactor.
go()
- Method in interface juju.reattore.perfcap.tester.
Tester
Run the test and return the results.
go()
- Method in class juju.reattore.perfcap.tester.impl.
CSVTester
go()
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
go(double)
- Method in class juju.reattore.loadtest.
LoadTest
Creates and starts the server.
go(double, double)
- Method in interface juju.reattore.loadtest.controller.
Controller
Run the test.
go(double, double)
- Method in class juju.reattore.loadtest.controller.impl.
BaseController
go(int, double)
- Method in interface juju.reattore.loadtest.controller.
Controller
Run the test for the given number of times.
go(int, double)
- Method in class juju.reattore.loadtest.controller.impl.
BaseController
GONE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Gone
H
handleConnected()
- Method in interface juju.reattore.core.reactor.
ClientSocketHandler
Called when the socket is initially connected.
handleConnected()
- Method in class juju.reattore.loadtest.controller.impl.
URLTester
handleConnected()
- Method in class juju.reattore.server.http.
HttpClientHandler
handleError()
- Method in interface juju.reattore.core.reactor.
ClientSocketHandler
Called when any error occurs on the attached socket.
handleError()
- Method in class juju.reattore.loadtest.controller.impl.
URLTester
handleError()
- Method in class juju.reattore.server.http.
HttpClientHandler
handleNewClient(SocketChannel)
- Method in interface juju.reattore.core.reactor.
ServerSocketHandler
Called when the reactor has accepted a new, incoming connection.
handleNewClient(SocketChannel)
- Method in class juju.reattore.server.http.
HttpServerHandler
Handler
- interface juju.reattore.core.reactor.
Handler
.
Basic callback interface for all socket event handlers.
handleReadable()
- Method in interface juju.reattore.core.reactor.
ClientSocketHandler
Called when the attached socket has data available.
handleReadable()
- Method in class juju.reattore.loadtest.controller.impl.
URLTester
handleReadable()
- Method in class juju.reattore.server.http.
HttpClientHandler
handleWritable()
- Method in interface juju.reattore.core.reactor.
ClientSocketHandler
Called when the attached socket is ready to be written to.
handleWritable()
- Method in class juju.reattore.loadtest.controller.impl.
URLTester
handleWritable()
- Method in class juju.reattore.server.http.
HttpClientHandler
hasNext()
- Method in interface juju.reattore.perfcap.var.
Variable
Returns true if there are more values in this sequence.
hasNext()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
hasNext()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
hasNext()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
HeaderParser
- class juju.reattore.protocol.http.impl.
HeaderParser
.
HTTP header parser.
HeaderParser.Callback
- interface juju.reattore.protocol.http.impl.
HeaderParser.Callback
.
Called when a header has been parsed.
HeaderParser()
- Constructor for class juju.reattore.protocol.http.impl.
HeaderParser
HOST
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Host
HTTP_VERSION_NOT_SUPPORTED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
HTTP Version not supported
Http11Protocol
- class juju.reattore.protocol.http.impl.
Http11Protocol
.
Logic for a HTTP/1.1 session
Http11Protocol()
- Constructor for class juju.reattore.protocol.http.impl.
Http11Protocol
HttpClientHandler
- class juju.reattore.server.http.
HttpClientHandler
.
Handler that knows about the HTTP protocol.
HttpClientHandler(SocketChannel, HttpMediator)
- Constructor for class juju.reattore.server.http.
HttpClientHandler
Create a new HTTP handler.
HttpConstants
- interface juju.reattore.protocol.http.
HttpConstants
.
Shared constants.
HttpMediator
- class juju.reattore.server.http.
HttpMediator
.
The mediator acts as a central point allowing the server and client handlers to avoid knowing about each other.
HttpMediator(CombinedReactor, Interceptor)
- Constructor for class juju.reattore.server.http.
HttpMediator
Create a new mediator.
HttpMessage
- interface juju.reattore.protocol.http.
HttpMessage
.
Encapsulates a HTTP message.
HttpParser
- interface juju.reattore.protocol.http.
HttpParser
.
Stateful HTTP parser that will parse blocks of bytes as they are fed in.
HttpParserHelper
- class juju.reattore.protocol.http.impl.
HttpParserHelper
.
Testing interface that wraps the impl parser and request/response.
HttpParserHelper()
- Constructor for class juju.reattore.protocol.http.impl.
HttpParserHelper
HttpProtocol
- interface juju.reattore.protocol.http.
HttpProtocol
.
Encapsulates the logic and processing of a HTTP session, including any protocol responses.
HttpRequest
- interface juju.reattore.protocol.http.
HttpRequest
.
Encapsulates a HTTP request.
HttpResponse
- interface juju.reattore.protocol.http.
HttpResponse
.
Encapsulates a HTTP response.
HttpServer
- class juju.reattore.server.http.
HttpServer
.
Main Http server entry point.
HttpServer()
- Constructor for class juju.reattore.server.http.
HttpServer
HttpServerHandler
- class juju.reattore.server.http.
HttpServerHandler
.
Handler that accepts a new incoming HTTP connection and hands it off to a new HTTP handler.
HttpServerHandler(HttpMediator)
- Constructor for class juju.reattore.server.http.
HttpServerHandler
Creates a new handler that uses the given mediator for attaching.
I
IF_MATCH
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
If-Match
IF_MODIFIED_SINCE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
If-Modified-Since
IF_NONE_MATCH
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
If-None-Match
IF_RANGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
If-Range
IF_UNMODIFIED_SINCE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
If-Unmodified-Since
inc()
- Method in class juju.reattore.util.
RateStat
Cause a single hit on this stat.
inc()
- Method in class juju.reattore.util.
GaugeStat
Increases this gauge.
inc()
- Method in class juju.reattore.util.
CounterStat
Increment this statistic.
Interceptor
- interface juju.reattore.server.intercept.
Interceptor
.
An Interceptor is a module that is given a chance to process an incomming request and to respond to it.
INTERNAL_SERVER_ERROR
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Internal Server Error
isDone()
- Method in class juju.reattore.util.
Spawner
Set if the process is finished.
isExpired()
- Method in interface juju.reattore.io.
CachableSource
Called before the source is used, and may be used to mark this source as expired and in need of re-generation.
isExpired()
- Method in class juju.reattore.io.impl.
ChannelFileSource
isSetter(String)
- Method in class juju.reattore.util.
Toolbox
Check if the named method is a Bean setter.
J
juju.reattore
- package juju.reattore
Single threaded HTTP server.
juju.reattore.core.reactor
- package juju.reattore.core.reactor
juju.reattore.core.reactor.impl
- package juju.reattore.core.reactor.impl
juju.reattore.core.rr
- package juju.reattore.core.rr
juju.reattore.io
- package juju.reattore.io
Reattore IO package.
juju.reattore.io.impl
- package juju.reattore.io.impl
juju.reattore.loadtest
- package juju.reattore.loadtest
Automated HTTP load test tool.
juju.reattore.loadtest.controller
- package juju.reattore.loadtest.controller
juju.reattore.loadtest.controller.impl
- package juju.reattore.loadtest.controller.impl
juju.reattore.perfcap
- package juju.reattore.perfcap
Automated performance testing and capture tool.
juju.reattore.perfcap.reporter
- package juju.reattore.perfcap.reporter
juju.reattore.perfcap.reporter.impl
- package juju.reattore.perfcap.reporter.impl
juju.reattore.perfcap.tester
- package juju.reattore.perfcap.tester
juju.reattore.perfcap.tester.impl
- package juju.reattore.perfcap.tester.impl
juju.reattore.perfcap.var
- package juju.reattore.perfcap.var
juju.reattore.perfcap.var.impl
- package juju.reattore.perfcap.var.impl
juju.reattore.protocol.http
- package juju.reattore.protocol.http
juju.reattore.protocol.http.impl
- package juju.reattore.protocol.http.impl
juju.reattore.server.http
- package juju.reattore.server.http
juju.reattore.server.intercept
- package juju.reattore.server.intercept
juju.reattore.server.intercept.impl
- package juju.reattore.server.intercept.impl
juju.reattore.util
- package juju.reattore.util
K
KEEP_ALIVE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
HTTP/1.0 keep alive
L
LAST_MODIFIED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Last-Modified
LENGTH_REQUIRED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Length Required
ListVar
- class juju.reattore.perfcap.var.impl.
ListVar
.
Variable that combines the output from many sub variables.
ListVar()
- Constructor for class juju.reattore.perfcap.var.impl.
ListVar
LoadTest
- class juju.reattore.loadtest.
LoadTest
.
Load test tool command line wrapper.
LoadTest()
- Constructor for class juju.reattore.loadtest.
LoadTest
LOCATION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Location
M
main(String[])
- Static method in class juju.reattore.
Reattore
Entry point.
main(String[])
- Static method in class juju.reattore.loadtest.
LoadTest
Entry point.
main(String[])
- Static method in class juju.reattore.perfcap.
PerfCap
Entry point.
main(String[])
- Static method in class juju.reattore.util.
VDocletCLI
Main entry point.
MapOfLists
- class juju.reattore.util.
MapOfLists
.
Indexed set of Lists.
MapOfLists()
- Constructor for class juju.reattore.util.
MapOfLists
mark()
- Method in class juju.reattore.io.impl.
ByteSourceSink
MAX_FORWARDS
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Max-Forwards
METHOD_NOT_ALLOWED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Method Not Allowed
MOVED_PERMANENTLY
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Moved Permanently
MULTIPLE_CHOICES
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Multiple Choices
N
NameValue
- class juju.reattore.util.
NameValue
.
Simple name/value pair class, normally used to simplify hooking in the digestor.
NameValue()
- Constructor for class juju.reattore.util.
NameValue
next()
- Method in interface juju.reattore.perfcap.var.
Variable
Advances to the next value.
next()
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
next()
- Method in class juju.reattore.perfcap.var.impl.
ListVar
next()
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
NO_CONTENT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
No Content
NON_AUTHORITATIVE_INFORMATION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Non-Authoritative Information
NOT_ACCEPTABLE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Not Acceptable
NOT_FOUND
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Not Found
NOT_IMPLEMENTED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Not Implemented
NOT_MODIFIED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Not Modified
O
OK
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
OK
onClose(CachableSource)
- Method in interface juju.reattore.io.
Cache
Called by a registered source when the source is about to be closed.
onClose(CachableSource)
- Method in class juju.reattore.server.intercept.impl.
CachingInterceptor
onHeader(String, String)
- Method in interface juju.reattore.protocol.http.impl.
HeaderParser.Callback
Called when a header has been parsed
onHeader(String, String)
- Method in class juju.reattore.protocol.http.impl.
BasicHttpParser
onStartLine(String, String, String, String)
- Method in interface juju.reattore.protocol.http.impl.
StartLineParser.Callback
Called when a line has been parsed.
onStartLine(String, String, String, String)
- Method in class juju.reattore.protocol.http.impl.
BasicHttpParser
P
ParseException
- exception juju.reattore.protocol.http.
ParseException
.
Denotes that an error occured while parsing.
ParseException()
- Constructor for class juju.reattore.protocol.http.
ParseException
parseRequest(String)
- Static method in class juju.reattore.protocol.http.impl.
HttpParserHelper
Parse the given string and return it as a request.
PARTIAL_CONTENT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Partial Content
PartitioningInterceptor
- class juju.reattore.server.intercept.impl.
PartitioningInterceptor
.
Interceptor that hands off to a different child interceptor based on the original request.
PartitioningInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
PartitioningInterceptor
PAYMENT_REQUIRED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Payment Required
PerfCap
- class juju.reattore.perfcap.
PerfCap
.
An automated performance capture and reporting tool.
PerfCap()
- Constructor for class juju.reattore.perfcap.
PerfCap
poll()
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
Polls the list of sockets and processes any that have become active.
populateContext(VelocityContext, HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
VelocityInterceptor
Hook to allow a derrived class to add extra items to the context.
populateContext(VelocityContext, HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
StatInterceptor
populateContext(VelocityContext, HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
AutoIndexInterceptor
PRAGMA
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Pragma
PRECONDITION_FAILED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Precondition Failed
process(HttpRequest, HttpResponse)
- Method in interface juju.reattore.server.intercept.
Interceptor
Process an incoming HTTP request if possible, filling in the given response as it goes.
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
VelocityInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
PartitioningInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
FileInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
FallbackErrorInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
ErrorInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
DelegatingInterceptor
process(HttpRequest, HttpResponse)
- Method in class juju.reattore.server.intercept.impl.
CachingInterceptor
PROXY_AUTHENTICATE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Proxy-Authenticate
PROXY_AUTHENTICATION_REQUIRED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Proxy Authentication Required
PROXY_AUTHORIZATION
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Proxy-Authorization
pushback(int)
- Method in class juju.reattore.io.impl.
PushbackByteSource
Returns the given byte back to the input.
pushback(int)
- Method in class juju.reattore.util.
PushbackArray
Returns the given byte back to the input.
PushbackArray
- class juju.reattore.util.
PushbackArray
.
Simple one character pushback system that works across multiple input arrays.
PushbackArray()
- Constructor for class juju.reattore.util.
PushbackArray
PushbackByteSource
- class juju.reattore.io.impl.
PushbackByteSource
.
Simple one character pushback system that works across multiple input arrays.
PushbackByteSource()
- Constructor for class juju.reattore.io.impl.
PushbackByteSource
Create a new source to be seed()ed later on.
PushbackByteSource(ByteSource)
- Constructor for class juju.reattore.io.impl.
PushbackByteSource
Create a new source around the given source.
put(byte[], int, int)
- Method in interface juju.reattore.io.
ByteSink
Bulk put operation.
put(byte[], int, int)
- Method in class juju.reattore.io.impl.
ByteSourceSink
put(int)
- Method in interface juju.reattore.io.
ByteSink
Writes a byte to the stream.
put(int)
- Method in class juju.reattore.io.impl.
ByteSourceSink
R
RANGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Range
RangeVar
- class juju.reattore.perfcap.var.impl.
RangeVar
.
Integer variable that goes from a start to an end value at a certain step.
RangeVar()
- Constructor for class juju.reattore.perfcap.var.impl.
RangeVar
RateStat
- class juju.reattore.util.
RateStat
.
Statistic module that manages a rate of events.
RateStat(Class, String)
- Constructor for class juju.reattore.util.
RateStat
Reactor
- interface juju.reattore.core.reactor.
Reactor
.
Base interface for any channel 'Reactors'.
Reattore
- class juju.reattore.
Reattore
.
Main entry point for the HTTP server.
Reattore()
- Constructor for class juju.reattore.
Reattore
REFERER
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Referer
register(Stat)
- Static method in class juju.reattore.util.
StatRegistry
Register a new statistic with this manager.
release()
- Method in interface juju.reattore.io.
CachableSource
Releases this source from the cache.
release()
- Method in class juju.reattore.io.impl.
ChannelFileSource
release(ByteBuffer)
- Static method in class juju.reattore.io.impl.
ByteBufferPool
Return a buffer to the pool.
remaining()
- Method in interface juju.reattore.io.
ByteSource
Returns the number of elements remaining in the stream.
remaining()
- Method in class juju.reattore.io.impl.
PushbackByteSource
remaining()
- Method in class juju.reattore.io.impl.
ChannelFileSource
remaining()
- Method in class juju.reattore.io.impl.
ByteSourceSink
remaining()
- Method in class juju.reattore.io.impl.
ByteBufferSource
Reporter
- interface juju.reattore.perfcap.reporter.
Reporter
.
A module that takes the variables used and results generated from a test and turns it into a report.
Request
- interface juju.reattore.core.rr.
Request
.
Interface of a generic incoming request.
REQUEST_ENTITY_TOO_LARGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Request Entity Too Large
REQUEST_TIME_OUT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Request Time-out
REQUEST_URI_TOO_LARGE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Request-URI Too Large
REQUESTED_RANGE_NOT_SATISFIABLE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Requested range not satisfiable
RESET_CONTENT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Reset Content
reset()
- Method in class juju.reattore.io.impl.
ByteSourceSink
reset()
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Resets back to a clean state.
reset()
- Method in class juju.reattore.protocol.http.impl.
HeaderParser
Resets back to a clean state.
Response
- interface juju.reattore.core.rr.
Response
.
Interface of a generic outgoing response.
Results
- interface juju.reattore.perfcap.tester.
Results
.
The results of running a test.
RETRY_AFTER
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Retry-After
rewind()
- Method in interface juju.reattore.io.
CachableSource
Resets this source into the original state.
rewind()
- Method in class juju.reattore.io.impl.
ChannelFileSource
rewind()
- Method in class juju.reattore.io.impl.
ByteSourceSink
RoundRobinChooser
- class juju.reattore.loadtest.controller.impl.
RoundRobinChooser
.
Round robin URL chooser.
RoundRobinChooser()
- Constructor for class juju.reattore.loadtest.controller.impl.
RoundRobinChooser
run()
- Method in class juju.reattore.util.
Spawner
Internal method.
S
SC_FORBIDDEN
- Static variable in interface juju.reattore.protocol.http.
HttpResponse
Status code indicating that the server understood the request but refused to fulfill it.
SC_INTERNAL_SERVER_ERROR
- Static variable in interface juju.reattore.protocol.http.
HttpResponse
Status code indicating that an error occured inside the server.
SC_MOVED_PERMANENTLY
- Static variable in interface juju.reattore.protocol.http.
HttpResponse
Moved Permanently
SC_NOT_FOUND
- Static variable in interface juju.reattore.protocol.http.
HttpResponse
Status code indicating that the request resource is not available.
SC_OK
- Static variable in interface juju.reattore.protocol.http.
HttpResponse
Status code indicating that request succeeded normally.
SEE_OTHER
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
See Other
seed(byte[])
- Method in class juju.reattore.util.
PushbackArray
Seeds the push back system with a new array to read from.
seed(ByteSource)
- Method in class juju.reattore.io.impl.
PushbackByteSource
Seeds the push back system with a new array to read from.
seed(HttpRequest, HttpResponse)
- Method in interface juju.reattore.protocol.http.
HttpProtocol
Re-seed this protocol with a new request.
seed(HttpRequest, HttpResponse)
- Method in class juju.reattore.protocol.http.impl.
Http11Protocol
SERVER
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Server
ServerSocketHandler
- interface juju.reattore.core.reactor.
ServerSocketHandler
.
A handler for incoming connections on a server socket.
ServerSocketReactor
- interface juju.reattore.core.reactor.
ServerSocketReactor
.
A reactor that understands server sockets and will handle new incoming connections and will hand them off to the handler as they arrive.
SERVICE_UNAVAILABLE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Service Unavailable
setBackingBuffer(ByteBuffer)
- Method in class juju.reattore.io.impl.
ByteBufferSource
Used by a derrivitave to set the backing buffer.
setBacklog(int)
- Method in class juju.reattore.server.http.
HttpServer
Configures the TCP server socket backlog limit.
setBaseDir(String)
- Method in class juju.reattore.server.intercept.impl.
FileInterceptor
Set the base directory.
setBaseDir(String)
- Method in class juju.reattore.server.intercept.impl.
AutoIndexInterceptor
Set the base directory.
setBody(ByteSource)
- Method in interface juju.reattore.protocol.http.
HttpResponse
Sets the source to read the body from.
setBody(ByteSource)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
setBody(ByteSource)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
Sets the body attached to this request.
setCacheCallback(Cache)
- Method in interface juju.reattore.io.
CachableSource
Binds this source to a cache.
setCacheCallback(Cache)
- Method in class juju.reattore.io.impl.
ChannelFileSource
setCallback(HeaderParser.Callback)
- Method in class juju.reattore.protocol.http.impl.
HeaderParser
Sets what to call when a header has been parsed.
setCallback(StartLineParser.Callback)
- Method in class juju.reattore.protocol.http.impl.
StartLineParser
Sets what to call when a line has been parsed.
setCmd(String)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
The command to use to run ApacheBench, in Message format form.
setCommand(String)
- Method in class juju.reattore.util.
Spawner
The Runtime.exec command to run.
setConcurrent(int)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
The number of concurrent connections to use with the server.
setDir(String)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The working directory to run from.
setDir(String)
- Method in class juju.reattore.util.
Spawner
The working directory to start in.
setDirectoryIndex(String)
- Method in class juju.reattore.server.intercept.impl.
FileInterceptor
Sets the file that the server will try for if a directory is requested.
setEnd(int)
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
Final, inclusive value.
setErrorPath(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
ErrorInterceptor
Sets the root of the error path to go through.
setExt(String)
- Method in class juju.reattore.server.intercept.impl.
ExtMap
Sets the extension to map from.
setFilter(String)
- Method in class juju.reattore.perfcap.reporter.impl.
VelocityReporter
The property from the test results.
setFilter(String)
- Method in class juju.reattore.perfcap.reporter.impl.
CSVReporter
The property from the test results.
setFilter(String)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
The property from the test results.
setFormat(String)
- Method in interface juju.reattore.util.
Stat
Sets the format string used for later calls to 'format'.
setFormat(String)
- Method in class juju.reattore.util.
BaseStat
Sets the format used in summarising this stat.
setHeader(String, String)
- Method in interface juju.reattore.protocol.http.
HttpResponse
Sets a header.
setHeader(String, String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
setHeight(int)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Height of the output image in pixels.
setKeepAlive(boolean)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
Enable using HTTP keep-alive during the test.
setKeepAlive(int)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
Alternative way of enabling keep-alive.
setLockedPath(String)
- Method in class juju.reattore.server.intercept.impl.
VelocityInterceptor
Lock this interceptor to only ever return the contents of the given path no matter what the request.
setMainPath(Interceptor)
- Method in class juju.reattore.server.intercept.impl.
ErrorInterceptor
Sets the root of the main path to go through.
setMessage(String)
- Method in class juju.reattore.server.intercept.impl.
FallbackErrorInterceptor
Set the message to return.
setName(String)
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
The name to identify this variable.
setName(String)
- Method in class juju.reattore.perfcap.var.impl.
ListVar
The name to identify this variable.
setName(String)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The name to identify this process as.
setName(String)
- Method in class juju.reattore.util.
NameValue
Sets the name.
setOut(String)
- Method in class juju.reattore.perfcap.reporter.impl.
VelocityReporter
Name of the file to write to.
setOut(String)
- Method in class juju.reattore.perfcap.reporter.impl.
CSVReporter
Name of the file to write to.
setOut(String)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Name of the file to write to.
setPath(String)
- Method in class juju.reattore.server.intercept.impl.
Target
PENDING: setPath
setPerfCap(PerfCap)
- Method in class juju.reattore.perfcap.tester.impl.
CSVTester
Attach to the top level runner.
setPort(int)
- Method in class juju.reattore.server.http.
HttpServer
Configure the TCP port to bind to.
setReactor(CombinedReactor)
- Method in class juju.reattore.
Reattore
Sets the top level reactor that will be run after configuration.
setReactor(CombinedReactor)
- Method in class juju.reattore.server.http.
HttpServer
Bind this server to the given reactor.
setReadSize(int)
- Method in class juju.reattore.io.impl.
ChannelFileSource
Test method that changes the maximum size a file may be before it is chunked into parts.
setShutdownCmd(String)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The Runtime.exec command to run to stop the process.
setSource(String)
- Method in class juju.reattore.perfcap.tester.impl.
CSVTester
The file to read the data from.
setStart(int)
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
Start/initial value.
setStartDelay(int)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The time in ms to wait for the process to start.
setStartLine(String, String, String, String)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpRequest
Bulk populate this request with the given values.
setStartupCmd(String)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The Runtime.exec command to run to start the process.
setStatsInterval(int)
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
Sets how often the statistics are dumped to the console.
setStatus(int)
- Method in interface juju.reattore.protocol.http.
HttpResponse
Sets the response status.
setStatus(int)
- Method in class juju.reattore.protocol.http.impl.
BaseHttpResponse
setStep(int)
- Method in class juju.reattore.perfcap.var.impl.
RangeVar
Step to increment this value as.
setTemplate(String)
- Method in class juju.reattore.perfcap.reporter.impl.
VelocityReporter
The template file name to process.
setTimeLimit(int)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
Time in seconds to run the test for.
setTimestampFormat(String)
- Method in class juju.reattore.server.intercept.impl.
AutoIndexInterceptor
Sets the SimpleDateFormat format used when displaying the directory.
setTitle(String)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Title to place on the chart.
setType(String)
- Method in class juju.reattore.server.intercept.impl.
ExtMap
Sets the mime type to map to
setUrl(String)
- Method in class juju.reattore.perfcap.tester.impl.
ABTester
The URL to test against.
setValue(String)
- Method in class juju.reattore.util.
NameValue
Sets the value.
setWaitFor(String)
- Method in class juju.reattore.perfcap.var.impl.
CommandLineVar
The regex string that signifies that the process has started.
setWidth(int)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Width of the output image in pixels.
setXAxisTitle(String)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Title of the X (horizontal) axis.
setYAxisTitle(String)
- Method in class juju.reattore.perfcap.reporter.impl.
ChartReporter
Title of the Y (vertical) axis.
shouldClose()
- Method in interface juju.reattore.protocol.http.
HttpProtocol
Test if the connection should be closed.
shouldClose()
- Method in class juju.reattore.protocol.http.impl.
Http11Protocol
Sink
- interface juju.reattore.io.
Sink
.
A sink is a system that will accept data and store it.
size()
- Method in interface juju.reattore.io.
ByteSink
Returns the number of elements in the stream.
size()
- Method in class juju.reattore.io.impl.
ByteSourceSink
Source
- interface juju.reattore.io.
Source
.
A streaming source of data.
SourceHelper
- class juju.reattore.io.impl.
SourceHelper
.
Helper methods that transform sources.
SourceHelper()
- Constructor for class juju.reattore.io.impl.
SourceHelper
spawn()
- Method in class juju.reattore.util.
Spawner
Starts the process running in the background and waits for it to start.
Spawner
- class juju.reattore.util.
Spawner
.
A native process wrapper that provides higher level functionality over Runtime.exec()
Spawner()
- Constructor for class juju.reattore.util.
Spawner
start()
- Method in class juju.reattore.util.
DurationStat
Start recording a new event for this stat.
StartLineParser
- class juju.reattore.protocol.http.impl.
StartLineParser
.
Parses a HTTP start (request/response) line.
StartLineParser.Callback
- interface juju.reattore.protocol.http.impl.
StartLineParser.Callback
.
May be used to generate events on the end of parse instead of being data driven.
StartLineParser()
- Constructor for class juju.reattore.protocol.http.impl.
StartLineParser
Stat
- interface juju.reattore.util.
Stat
.
Base interface for all statistic modules.
StatInterceptor
- class juju.reattore.server.intercept.impl.
StatInterceptor
.
Very simple statistics servlet.
StatInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
StatInterceptor
StatRegistry
- class juju.reattore.util.
StatRegistry
.
Statistic manager.
StatRegistry()
- Constructor for class juju.reattore.util.
StatRegistry
stop()
- Method in class juju.reattore.core.reactor.impl.
CombinedReactor
Causes this reactor to asynchronisally stop.
summarise()
- Static method in class juju.reattore.util.
StatRegistry
Summarise all of the registered statistics.
SWITCHING_PROTOCOLS
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Switching Protocols
T
Target
- class juju.reattore.server.intercept.impl.
Target
.
Helper class for configuration that encapsulates a (path, interceptor) pair.
Target()
- Constructor for class juju.reattore.server.intercept.impl.
Target
TE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
TE
TEMPORARY_REDIRECT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Temporary Redirect
Tester
- interface juju.reattore.perfcap.tester.
Tester
.
A bean that can be setup and can run a test.
TEXT_HTML
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
text/html
TEXT_PLAIN
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
text/plain
Toolbox
- class juju.reattore.util.
Toolbox
.
Toolbox of methods for use from Velocity.
Toolbox()
- Constructor for class juju.reattore.util.
Toolbox
TRAILER
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Trailer
TRANSFER_ENCODING
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Transfer-Encoding
tryGet(String)
- Method in class juju.reattore.server.intercept.impl.
FileCache
Attempt to fetch from the cache.
U
UNAUTHORIZED
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Unauthorized
UNSUPPORTED_MEDIA_TYPE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Unsupported Media Type
UPGRADE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Upgrade
URLTester
- class juju.reattore.loadtest.controller.impl.
URLTester
.
Very simple URL tester that gets the contents of the given URL from the given socket.
URLTester(SocketChannel, URL)
- Constructor for class juju.reattore.loadtest.controller.impl.
URLTester
Create a new tester for later use.
USE_PROXY
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Use Proxy
USER_AGENT
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
User-Agent
V
Variable
- interface juju.reattore.perfcap.var.
Variable
.
An independant variable that takes on a set of values.
VARY
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Vary
VDocletCLI
- class juju.reattore.util.
VDocletCLI
.
Command-line entry-point to vDoclet
VDocletCLI()
- Constructor for class juju.reattore.util.
VDocletCLI
VelocityInterceptor
- class juju.reattore.server.intercept.impl.
VelocityInterceptor
.
Interceptor that serves a Apache Velocity based template.
VelocityInterceptor()
- Constructor for class juju.reattore.server.intercept.impl.
VelocityInterceptor
Create a new interceptor
VelocityReporter
- class juju.reattore.perfcap.reporter.impl.
VelocityReporter
.
Generates an arbitrary report using a user defined Velocity template.
VelocityReporter()
- Constructor for class juju.reattore.perfcap.reporter.impl.
VelocityReporter
VIA
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Via
W
waitDone()
- Method in class juju.reattore.util.
Spawner
Waits for the process to terminate.
WARNING
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
Warning
WWW_AUTHENTICATE
- Static variable in interface juju.reattore.protocol.http.
HttpConstants
WWW-Authenticate
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2002-2003 Michael Hope. All Rights Reserved.