Skip navigation links
A B C D E F G H I J L M N O P R S T V W X Y Z 

A

accept(Metric<?>, ClassInfo, HasName) - Method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
Merges the provided parameter into this accumulator mutating itself.
accept(T) - Method in interface net.openhft.chronicle.testframework.function.ThrowingConsumer
Performs this operation on the given argument.
Accumulator - Interface in net.openhft.chronicle.testframework.apimetrics
 
accumulators() - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics
Returns a stream of Accumulators used for public (non-internal) packages.
addAccumulator(Supplier<Accumulator>) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
 
addMetric(Metric<?>) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Add the provided metric as applicable when analysing the set of packages.
addMutator(DtoTester.MutatorType, String, Consumer<? super T>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 
addMutator(DtoTester.MutatorType, String, BiConsumer<? super T, ? super R>, R) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 
addPackage(Package) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Adds the provided paket and all its underlying packages to the set of packages to analyze.
addPackage(String) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Adds the provided packageName and all its underlying packages to the set of packages to analyze.
addPackageExclusion(Package) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Adds the provided paket and all its underlying packages to the set of excluded packages not to analyze.
addPackageExclusion(String) - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Adds the provided packageName and all its underlying packages to the set of excluded packages not to analyze.
addStandardAccumulators() - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
 
addStandardMetrics() - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Add a set of standard metrics as applicable when analysing the set of packages.
aggregationNames() - Method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
Returns an unmodifiable list of names used in one or more aggregation depths.
ApiMetrics - Interface in net.openhft.chronicle.testframework.apimetrics
 
ApiMetrics.ApiMetricsBuilder - Interface in net.openhft.chronicle.testframework.apimetrics
 
apply(T, U, V) - Method in interface net.openhft.chronicle.testframework.Product.TriFunction
Applies this function to the given arguments.
as(Class<N>) - Method in interface net.openhft.chronicle.testframework.Delegation.Builder
Specifies the type the delegate should be viewed as.

B

build() - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics.ApiMetricsBuilder
Analyses and returns ApiMetrics thereby applying all the metrics and accumulators to the set of packages to analyse.
build() - Method in interface net.openhft.chronicle.testframework.Delegation.Builder
Creates and returns a new view of type T of the underlying delegate of type D
build() - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 
build() - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Creates a Runnable that runs the provided runnable according to the Builder's parameters.
builder() - Static method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics
Creates and returns a new ApiMetricsBuilder.
builder(Class<T>, Supplier<? extends T>) - Static method in interface net.openhft.chronicle.testframework.dto.DtoTester
 
builder(FlakyTestRunner.RunnableThrows<X>) - Static method in class net.openhft.chronicle.testframework.FlakyTestRunner
Creates and returns a new Builder for the provided action that might throw checked Exceptions.
builder(Supplier<Boolean>) - Static method in class net.openhft.chronicle.testframework.Waiters
Create a builder that will succeed when the supplied condition is met
builder(Supplier<T>, Predicate<T>) - Static method in class net.openhft.chronicle.testframework.Waiters
Create a Waiter that will succeed when the value matches the predicate
builderUnchecked(Runnable) - Static method in class net.openhft.chronicle.testframework.FlakyTestRunner
Creates and returns a new Builder for the provided action that might throw un-checked Exceptions only.

C

checkIntervalMs(long) - Method in class net.openhft.chronicle.testframework.Waiters.WaiterBuilder
Specify the interval between checks
CloseableUtil - Enum in net.openhft.chronicle.testframework
 
closeQuietly(AutoCloseable) - Static method in enum net.openhft.chronicle.testframework.CloseableUtil
Close a Closeable, logging any exceptions thrown
Combination - Class in net.openhft.chronicle.testframework
General Combination support.
create(Class<?>) - Static method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Creates and returns a new JavaProcessBuilder.

D

Delegation - Class in net.openhft.chronicle.testframework
 
Delegation.Builder<T,D> - Interface in net.openhft.chronicle.testframework
The new instance will default it's Object.toString() method to the one of the provided delegate.
DtoTester - Interface in net.openhft.chronicle.testframework.dto
 
DtoTester.Builder<T> - Interface in net.openhft.chronicle.testframework.dto
 
DtoTester.MutatorType - Enum in net.openhft.chronicle.testframework.dto
 

E

ExecutorServiceUtil - Enum in net.openhft.chronicle.testframework
 

F

factorial(int) - Static method in class net.openhft.chronicle.testframework.Permutation
Returns the factorial (n!) for the given n value.
fibonacci() - Static method in class net.openhft.chronicle.testframework.Series
Creates and returns a new LongStream of the fibonacci series 0, 1, 1, 2, 3, 5, ...
first() - Method in interface net.openhft.chronicle.testframework.Product.HasFirst
 
FlakyTestRunner - Class in net.openhft.chronicle.testframework
 
FlakyTestRunner.Builder<X extends Throwable> - Interface in net.openhft.chronicle.testframework
 
FlakyTestRunner.RunnableThrows<T extends Throwable> - Interface in net.openhft.chronicle.testframework
 
Foo - Class in net.openhft.chronicle.testframework.apimetrics
 
Foo() - Constructor for class net.openhft.chronicle.testframework.apimetrics.Foo
 

G

GcControls - Enum in net.openhft.chronicle.testframework
Some utilities to try and reliably execute GCs.
getAddress(Matcher) - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
 
getAllMappedFiles() - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
Get the distinct files that are currently mapped to the current process
getAvailablePort() - Static method in enum net.openhft.chronicle.testframework.NetworkUtil
Get a port number that's very likely to be available
getGcCount() - Static method in enum net.openhft.chronicle.testframework.GcControls
Get the GC count
getPath(Matcher) - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
 
getProcessStdErr(Process) - Static method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Get process stderr
getProcessStdOut(Process) - Static method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Get process stdout

H

HasName - Interface in net.openhft.chronicle.testframework.function
 

I

inheritingIO() - Method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Make the spawned process inherit the IO streams of the spawning process
internalAccumulators() - Method in interface net.openhft.chronicle.testframework.apimetrics.ApiMetrics
Returns a stream of Accumulators used for internal packages.
isApplicable(T) - Method in interface net.openhft.chronicle.testframework.apimetrics.Metric
 

J

JavaProcessBuilder - Interface in net.openhft.chronicle.testframework.process
 

L

lastValue() - Method in exception net.openhft.chronicle.testframework.Waiters.ConditionNotMetException
 

M

MappedFileUtil - Enum in net.openhft.chronicle.testframework.mappedfiles
 
maxTimeToWaitMs(long) - Method in class net.openhft.chronicle.testframework.Waiters.WaiterBuilder
Specify the maximum amount of time to wait for the condition to be met
message(String) - Method in class net.openhft.chronicle.testframework.Waiters.WaiterBuilder
Specify a static message for the exception
messageGenerator(Function<T, String>) - Method in class net.openhft.chronicle.testframework.Waiters.WaiterBuilder
Supply a function for generating the exception message
Metric<T> - Interface in net.openhft.chronicle.testframework.apimetrics
 
MyEnum - Enum in net.openhft.chronicle.testframework.apimetrics
 

N

name() - Method in interface net.openhft.chronicle.testframework.function.HasName
Returns the name of this object.
NamedConsumer<T> - Interface in net.openhft.chronicle.testframework.function
 
net.openhft.chronicle.testframework - package net.openhft.chronicle.testframework
This package contains the public API for the chronicle-test-framework library.
net.openhft.chronicle.testframework.apimetrics - package net.openhft.chronicle.testframework.apimetrics
 
net.openhft.chronicle.testframework.dto - package net.openhft.chronicle.testframework.dto
 
net.openhft.chronicle.testframework.function - package net.openhft.chronicle.testframework.function
 
net.openhft.chronicle.testframework.mappedfiles - package net.openhft.chronicle.testframework.mappedfiles
 
net.openhft.chronicle.testframework.process - package net.openhft.chronicle.testframework.process
 
NetworkUtil - Enum in net.openhft.chronicle.testframework
 
nodeType() - Method in interface net.openhft.chronicle.testframework.apimetrics.Metric
 

O

of(String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>) - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
of(String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>, Product.TriFunction<Metric<?>, ClassInfo, HasName, Boolean>) - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
of(String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>, String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>) - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
of(String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>, String, Product.TriFunction<Metric<?>, ClassInfo, HasName, String>, Product.TriFunction<Metric<?>, ClassInfo, HasName, Boolean>) - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
of(Class<T>, Predicate<? super T>, String, double) - Static method in interface net.openhft.chronicle.testframework.apimetrics.Metric
 
of(T...) - Static method in class net.openhft.chronicle.testframework.Combination
Creates and returns all possible combinations of the given elements.
of(Collection<T>) - Static method in class net.openhft.chronicle.testframework.Combination
Creates and returns all possible combinations of the given elements.
of(Stream<T>) - Static method in class net.openhft.chronicle.testframework.Combination
Creates and returns all possible combinations of the given elements.
of(D) - Static method in class net.openhft.chronicle.testframework.Delegation
Creates and returns a new builder for a delegator instance that is using the provided delegate as a delegate.
of(Consumer<T>, String) - Static method in interface net.openhft.chronicle.testframework.function.NamedConsumer
 
of(ThrowingConsumer<T, ?>) - Static method in interface net.openhft.chronicle.testframework.function.ThrowingConsumer
Creates and returns a new Consumer that will wrap any exceptions thrown by the provided throwingConsumer in a ThrowingConsumerException
of(T...) - Static method in class net.openhft.chronicle.testframework.Permutation
Creates and returns a Stream of all permutations of the provided items array.
of(Collection<T>) - Static method in class net.openhft.chronicle.testframework.Permutation
Creates and returns a Stream of all permutations of the provided items list.
of(Stream<T>) - Static method in class net.openhft.chronicle.testframework.Permutation
Creates and returns a Stream of all permutations of the provided items list.
of(Collection<T>, Collection<U>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying a default Product2 constructor to each tuple.
of(Collection<T>, Collection<U>, BiFunction<? super T, ? super U, ? extends R>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying the provided constructors to each tuple.
of(Stream<T>, Stream<U>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying the provided constructors to each tuple.
of(Stream<T>, Stream<U>, BiFunction<? super T, ? super U, ? extends R>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying a default Product2 constructor to each tuple.
of(Collection<T>, Collection<U>, Collection<V>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying a default Product3 constructor to each tuple.
of(Collection<T>, Collection<U>, Collection<V>, Product.TriFunction<T, U, V, R>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying the provided constructors to each tuple.
of(Stream<T>, Stream<U>, Stream<V>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by applying a default Product3 constructor to each tuple.
of(Stream<T>, Stream<U>, Stream<V>, Product.TriFunction<T, U, V, R>) - Static method in class net.openhft.chronicle.testframework.Product
Creates and returns the cartesian product of the given elements by the provided constructors to each tuple.
ofThrowing(ThrowingConsumer<T, ?>, String) - Static method in interface net.openhft.chronicle.testframework.function.NamedConsumer
 
ORIGO - Static variable in class net.openhft.chronicle.testframework.apimetrics.Foo
 

P

parseMapsLine(String) - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
 
pause(long) - Static method in enum net.openhft.chronicle.testframework.ThreadUtil
Pause interruptibly
perClassAndMetric() - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
perMethod() - Static method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
Permutation - Class in net.openhft.chronicle.testframework
General Permutation support from http://minborgsjavapot.blogspot.com/2015/07/java-8-master-permutations.html
permutation(long, List<T>) - Static method in class net.openhft.chronicle.testframework.Permutation
Returns the given no (of n!) permutation variant of the given items.
powersOfTwo() - Static method in class net.openhft.chronicle.testframework.Series
Creates and returns a new LongStream of powers of two 1, 2, ..., 2^63
powersOfTwoAndAdjacent() - Static method in class net.openhft.chronicle.testframework.Series
Creates and returns a new LongStream of powers of two and adjacent values 0, 1, 2, ..., 15, 16, 17, 31, 32, 33
primes() - Static method in class net.openhft.chronicle.testframework.Series
Creates and returns a new LongStream of all the prime numbers 2, 3, 5, 7, ...
printProcessOutput(String, Process) - Static method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Log stdout and stderr for a process
Product - Class in net.openhft.chronicle.testframework
 
Product.HasFirst<T> - Interface in net.openhft.chronicle.testframework
 
Product.HasSecond<U> - Interface in net.openhft.chronicle.testframework
 
Product.HasThird<V> - Interface in net.openhft.chronicle.testframework
 
Product.Product2<T,U> - Interface in net.openhft.chronicle.testframework
 
Product.Product3<T,U,V> - Interface in net.openhft.chronicle.testframework
 
Product.TriFunction<T,U,V,R> - Interface in net.openhft.chronicle.testframework
 

R

requestGcCycle() - Static method in enum net.openhft.chronicle.testframework.GcControls
Request a GC
result() - Method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
result1() - Method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
result2() - Method in interface net.openhft.chronicle.testframework.apimetrics.Accumulator
 
run() - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.RunnableThrows
Performs an action.
run() - Method in class net.openhft.chronicle.testframework.Waiters.WaiterBuilder
Wait for the condition to be true, throw an Waiters.ConditionNotMetException if the condition is not met in time
runOrThrow() - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.RunnableThrows
Performs the action wrapping any thrown Throwable in an IllegalStateException.
runOrThrow(Function<? super Throwable, ? extends RuntimeException>) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.RunnableThrows
Performs the action wrapping any thrown Throwable using the provided exceptionMapper.

S

second() - Method in interface net.openhft.chronicle.testframework.Product.HasSecond
 
Series - Class in net.openhft.chronicle.testframework
 
shutdownAndWaitForTermination(ExecutorService, long, TimeUnit) - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Shut down an executor service, waiting for it to terminate
shutdownAndWaitForTermination(ExecutorService) - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Shut down an executor service, wait 5 seconds for it to terminate
shutdownForciblyAndWaitForTermination(ExecutorService) - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Shut down an executor service, interrupting all threads, wait 5 seconds for it to terminate
shutdownForciblyAndWaitForTermination(ExecutorService, long, TimeUnit) - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Shut down an executor service, interrupting all threads, wait for it to terminate
start() - Method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Start a process defined by the current state of the builder

T

test() - Method in interface net.openhft.chronicle.testframework.dto.DtoTester
 
third() - Method in interface net.openhft.chronicle.testframework.Product.HasThird
 
ThreadUtil - Enum in net.openhft.chronicle.testframework
 
ThrowingConsumer<T,X extends Exception> - Interface in net.openhft.chronicle.testframework.function
Represents an operation that accepts a single input argument and returns no result and that can throw an Exception.
ThrowingConsumerException - Exception in net.openhft.chronicle.testframework.function
 
ThrowingConsumerException(Throwable) - Constructor for exception net.openhft.chronicle.testframework.function.ThrowingConsumerException
 
toStringFunction(Function<? super D, String>) - Method in interface net.openhft.chronicle.testframework.Delegation.Builder
Specifies the {@code tostring()) the view should use.

V

valueOf(String) - Static method in enum net.openhft.chronicle.testframework.apimetrics.MyEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.CloseableUtil
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.dto.DtoTester.MutatorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.GcControls
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.NetworkUtil
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.openhft.chronicle.testframework.ThreadUtil
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.openhft.chronicle.testframework.apimetrics.MyEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.CloseableUtil
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.dto.DtoTester.MutatorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.ExecutorServiceUtil
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.GcControls
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.NetworkUtil
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.openhft.chronicle.testframework.ThreadUtil
Returns an array containing the constants of this enum type, in the order they are declared.

W

Waiters - Class in net.openhft.chronicle.testframework
 
Waiters() - Constructor for class net.openhft.chronicle.testframework.Waiters
 
Waiters.ConditionNotMetException - Exception in net.openhft.chronicle.testframework
 
Waiters.WaiterBuilder<T> - Class in net.openhft.chronicle.testframework
 
waitForCondition(String, Supplier<Boolean>, long) - Static method in class net.openhft.chronicle.testframework.Waiters
Wait for a condition to be true, throw an Waiters.ConditionNotMetException if the condition is not met in time
waitForGcCycle() - Static method in enum net.openhft.chronicle.testframework.GcControls
Request a GC and block until it occurs
weight() - Method in interface net.openhft.chronicle.testframework.apimetrics.Metric
 
withAccessors(Function<? super T, ? extends R>, BiConsumer<? super T, ? super R>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 
withClasspathEntries(String...) - Method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Provide classpath entries to run with, by default uses classpath of spawning process
withErrorLogger(Consumer<? super String>) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets the error logger to use for messages.
withFlakyOnThisArchitecture(boolean) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets if the runner is flaky on this architecture.
withInfoLogger(Consumer<? super String>) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets the info logger to use for messages.
withInterIterationGc(boolean) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets if a garbage collect should be requested between each iterations.
withIterationDelay(long) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets the delay between each iteration in ms.
withJvmArguments(String...) - Method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Provide JVM arguments to execute with
withMaxIterations(int) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
Sets the maximum number of iteration before the runner fails.
withProgramArguments(String...) - Method in interface net.openhft.chronicle.testframework.process.JavaProcessBuilder
Provide program arguments to execute with
withResetter(Consumer<? super T>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 
withValidator(Consumer<? super T>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
 

X

x - Variable in class net.openhft.chronicle.testframework.apimetrics.Foo
 
x() - Method in class net.openhft.chronicle.testframework.apimetrics.Foo
 
x(int) - Method in class net.openhft.chronicle.testframework.apimetrics.Foo
 

Y

y - Variable in class net.openhft.chronicle.testframework.apimetrics.Foo
 

Z

zero() - Method in class net.openhft.chronicle.testframework.apimetrics.Foo
 
A B C D E F G H I J L M N O P R S T V W X Y Z 
Skip navigation links

Copyright © 2023. All rights reserved.