- 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
-
Adds the supplied accumulator to the builder.
- 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
-
Adds a mutator to the builder for testing.
- addMutator(DtoTester.MutatorType, String, BiConsumer<? super T, ? super R>, R) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
-
Adds a mutator to the builder for testing, with a specified value.
- 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
-
Adds a set of standard accumulators to the builder.
- 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
-
The ApiMetrics interface represents a contract for gathering and managing API metrics.
- ApiMetrics.ApiMetricsBuilder - Interface in net.openhft.chronicle.testframework.apimetrics
-
Interface for a builder that allows constructing an ApiMetrics object.
- apply(T, U, V) - Method in interface net.openhft.chronicle.testframework.Product.TriFunction
-
Applies this function to the given arguments, creating a result of type R.
- as(Class<N>) - Method in interface net.openhft.chronicle.testframework.Delegation.Builder
-
Specifies the type the delegate should be viewed as.
- 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
-
The NamedConsumer interface extends both HasName and Consumer interfaces,
thus providing a Consumer with an associated name.
- net.openhft.chronicle.testframework - package net.openhft.chronicle.testframework
-
The net.openhft.chronicle.testframework package provides a collection of utility classes and enums
for various common programming tasks, such as handling closeable resources, generating combinations and permutations,
building delegator instances, managing executor services, handling flaky tests, interacting with garbage collection,
providing network-related functionalities, generating series of numbers, and thread-related functionalities.
- net.openhft.chronicle.testframework.apimetrics - package net.openhft.chronicle.testframework.apimetrics
-
Provides the classes and interfaces necessary for API metrics analysis within
the Chronicle Test Framework.
- net.openhft.chronicle.testframework.dto - package net.openhft.chronicle.testframework.dto
-
Provides interfaces and classes for testing Data Transfer Objects (DTOs) within
the Chronicle Test Framework.
- net.openhft.chronicle.testframework.exception - package net.openhft.chronicle.testframework.exception
-
Provides classes and interfaces for tracking and asserting exceptions during testing.
- net.openhft.chronicle.testframework.function - package net.openhft.chronicle.testframework.function
-
This package provides a set of functional interfaces and related utility classes to enhance
and extend the standard Java functional programming model.
- net.openhft.chronicle.testframework.mappedfiles - package net.openhft.chronicle.testframework.mappedfiles
-
Provides utility classes for working with mapped files, specifically targeting
Linux systems where the "/proc/self/maps" file provides information about
virtual memory mappings.
- net.openhft.chronicle.testframework.process - package net.openhft.chronicle.testframework.process
-
The net.openhft.chronicle.testframework.internal.process package provides internal implementations
for configuring and launching Java processes within the Chronicle testing framework.
- NetworkUtil - Enum in net.openhft.chronicle.testframework
-
Utility class to provide network-related functionalities.
- nodeType() - Method in interface net.openhft.chronicle.testframework.apimetrics.Metric
-
Gets the class type that the metric is applicable to.
- 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
-
Factory method to create a new instance of a Metric with the given parameters.
- of(T...) - Static method in class net.openhft.chronicle.testframework.Combination
-
Creates and returns a stream of all possible combinations of the given elements.
- of(Collection<T>) - Static method in class net.openhft.chronicle.testframework.Combination
-
Creates and returns a stream of all possible combinations of the given elements.
- of(Stream<T>) - Static method in class net.openhft.chronicle.testframework.Combination
-
Creates and returns a stream of 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 will use the provided
delegate as the delegate.
- of(Consumer<T>, String) - Static method in interface net.openhft.chronicle.testframework.function.NamedConsumer
-
Creates a NamedConsumer instance from the given consumer and name.
- 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 stream.
- of(Collection<T>, Collection<U>) - Static method in class net.openhft.chronicle.testframework.Product
-
Creates and returns a Stream representing the Cartesian product of the given ts and us collections.
- 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
constructor to each tuple (pair of elements).
- 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 a default
Product2 constructor 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 the provided
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
constructor 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 applying the provided
constructor to each tuple.
- ofThrowing(ThrowingConsumer<T, ?>, String) - Static method in interface net.openhft.chronicle.testframework.function.NamedConsumer
-
Creates a NamedConsumer instance from the given ThrowingConsumer and name.
- parseMapsLine(String) - Static method in enum net.openhft.chronicle.testframework.mappedfiles.MappedFileUtil
-
Parses the provided line using the pattern defined for parsing lines from "/proc/self/maps".
- pause(long) - Static method in enum net.openhft.chronicle.testframework.ThreadUtil
-
Pauses the current thread's execution for the specified amount of time.
- 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
-
Generates a stream of all possible permutations for 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
-
An interface representing an object that has a first component.
- Product.HasSecond<U> - Interface in net.openhft.chronicle.testframework
-
An interface representing an object that has a second component.
- Product.HasThird<V> - Interface in net.openhft.chronicle.testframework
-
Interface representing an object that has a third component of type V.
- Product.Product2<T,U> - Interface in net.openhft.chronicle.testframework
-
A Product2 is a composite object comprising two components.
- Product.Product3<T,U,V> - Interface in net.openhft.chronicle.testframework
-
A Product3 is a composite object comprising three components.
- Product.TriFunction<T,U,V,R> - Interface in net.openhft.chronicle.testframework
-
Function interface representing a function that accepts three arguments and produces a result.
- 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.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.
- Waiters - Class in net.openhft.chronicle.testframework
-
A utility class providing methods to create wait conditions.
- Waiters() - Constructor for class net.openhft.chronicle.testframework.Waiters
-
- Waiters.ConditionNotMetException - Exception in net.openhft.chronicle.testframework
-
An exception class that is thrown when a condition is not met within the specified time.
- Waiters.WaiterBuilder<T> - Class in net.openhft.chronicle.testframework
-
- waitForCondition(String, Supplier<Boolean>, long) - Static method in class net.openhft.chronicle.testframework.Waiters
-
- waitForGcCycle() - Static method in enum net.openhft.chronicle.testframework.GcControls
-
Requests a garbage collection (GC) cycle and blocks until it occurs or a timeout is reached.
- weight() - Method in interface net.openhft.chronicle.testframework.apimetrics.Metric
-
Gets the weight of the metric.
- withAccessors(Function<? super T, ? extends R>, BiConsumer<? super T, ? super R>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
-
Adds accessors to the builder for testing.
- 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 error messages.
- withFlakyOnThisArchitecture(boolean) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
-
Configures whether the runner is considered flaky on the current architecture.
- withInfoLogger(Consumer<? super String>) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
-
Sets the info logger to use for informational messages.
- withInterIterationGc(boolean) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
-
Sets if a garbage collection should be requested between each iteration.
- withIterationDelay(long) - Method in interface net.openhft.chronicle.testframework.FlakyTestRunner.Builder
-
Sets the delay between each iteration in milliseconds.
- 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 iterations 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
-
Adds a resetter function to the builder.
- withValidator(Consumer<? super T>) - Method in interface net.openhft.chronicle.testframework.dto.DtoTester.Builder
-
Adds a validation function to the builder.