Interface | Description |
---|---|
BiLongAccumulator<T,A> | |
BulkIterator<V> | |
Clock |
Wrapper around time related functions that are either implemented by using the default JVM calls
or by using a custom implementation for testing purposes.
|
Closeable | |
CloseableIterator<T> | |
FailingConsumer<T> | |
FastByteOperations.ByteOperations | |
IFilter | |
IFilter.FilterKey | |
IMergeIterator<In,Out> | |
IndexedSearchIterator<K,V> | |
IteratorWithLowerBound<In> | |
JVMStabilityInspector.OnKillHook |
This class is usually used to avoid JVM exit when running junit tests.
|
LazyToString | |
LongAccumulator<T> | |
LongTimSort.LongComparator | |
MBeanWrapper |
Helper class to avoid catching and rethrowing checked exceptions on MBean and
allow turning of MBean registration for test purposes.
|
MonotonicClock |
Wrapper around time related functions that are either implemented by using the default JVM calls
or by using a custom implementation for testing purposes.
|
MonotonicClockTranslation | |
NativeLibraryWrapper |
An interface to implement for using OS specific native methods.
|
OutputHandler | |
SearchIterator<K,V> | |
Throwables.DiscreteAction<E extends java.lang.Exception> | |
WithResources |
A generic interface for encapsulating a Runnable task with related work before and after execution,
using the built-in try-with-resources functionality offered by
Closeable . |
Class | Description |
---|---|
AbstractIterator<V> | |
AlwaysPresentFilter | |
Architecture | |
AsymmetricOrdering<T1,T2> | |
BiMultiValMap<K,V> |
A variant of BiMap which does not enforce uniqueness of values.
|
BloomCalculations |
The following calculations are taken from:
http://www.cs.wisc.edu/~cao/papers/summary-cache/node8.html
"Bloom Filters - the math"
This class's static methods are meant to facilitate the use of the Bloom
Filter class by helping to choose correct values of 'bits per element' and
'number of hash functions, k'.
|
BloomCalculations.BloomSpecification |
A wrapper class that holds two key parameters for a Bloom Filter: the
number of hash functions used, and the number of buckets per element used.
|
BloomFilter | |
BloomFilterSerializer | |
BooleanSerializer | |
BulkIterator.Adapter<V> | |
BulkIterator.FromArray<V> | |
ByteArrayUtil | |
ByteBufferUtil |
Utility methods to make ByteBuffers less painful
The following should illustrate the different ways byte buffers can be used
public void testArrayOffet()
{
byte[] b = "test_slice_array".getBytes();
ByteBuffer bb = ByteBuffer.allocate(1024);
assert bb.position() == 0;
assert bb.limit() == 1024;
assert bb.capacity() == 1024;
bb.put(b);
assert bb.position() == b.length;
assert bb.remaining() == bb.limit() - bb.position();
ByteBuffer bb2 = bb.slice();
assert bb2.position() == 0;
//slice should begin at other buffers current position
assert bb2.arrayOffset() == bb.position();
//to match the position in the underlying array one needs to
//track arrayOffset
assert bb2.limit()+bb2.arrayOffset() == bb.limit();
assert bb2.remaining() == bb.remaining();
}
}
|
CassandraVersion |
Implements versioning used in Cassandra and CQL.
|
Clock.Default | |
Clock.Global | |
CollectionSerializer | |
Collectors3 |
Some extra Collector implementations.
|
ConcurrentBiMap<K,V> |
A variant of BiMap that permits concurrent access, and expects uniqueness of values in both domain and range.
|
CounterId | |
DefaultValue<T> | |
DiagnosticSnapshotService |
Provides a means to take snapshots when triggered by anomalous events or when the breaking of invariants is
detected.
|
DirectorySizeCalculator |
Walks directory recursively, summing up total contents of files within.
|
DynamicList<E> | |
DynamicList.Node<E> | |
EstimatedHistogram | |
EstimatedHistogram.EstimatedHistogramSerializer | |
ExecutorUtils | |
ExpiringMemoizingSupplier<T> |
An implementation similar to Guava's Suppliers.memoizeWithExpiration(Supplier)
but allowing for memoization to be skipped.
|
ExpiringMemoizingSupplier.Memoized<T> | |
ExpiringMemoizingSupplier.NotMemoized<T> | |
ExpiringMemoizingSupplier.ReturnValue<T> | |
FastByteOperations |
Utility code to do optimized byte-array comparison.
|
FastByteOperations.PureJavaOperations | |
FastByteOperations.UnsafeOperations | |
FBUtilities | |
FilterFactory | |
GuidGenerator | |
HeapUtils |
Utility to log heap histogram.
|
Hex | |
HistogramBuilder |
Simple class for constructing an EsimtatedHistogram from a set of predetermined values
|
Int32Serializer | |
Int64Serializer | |
IntegerInterval |
Mutable integer interval class, thread-safe.
|
IntegerInterval.Set |
A mutable set of closed integer intervals, stored in normalized form (i.e.
|
Interval<C,D> | |
IntervalTree<C extends java.lang.Comparable<? super C>,D,I extends Interval<C,D>> | |
IntervalTree.Serializer<C extends java.lang.Comparable<? super C>,D,I extends Interval<C,D>> | |
JavaUtils |
Utility method to retrieve information about the JRE.
|
JMXServerUtils | |
JMXServerUtils.JmxRegistry | |
JVMStabilityInspector |
Responsible for deciding whether to kill the JVM if it gets in an "unstable" state (think OOM).
|
JVMStabilityInspector.Killer | |
LockedDynamicList<E> | |
LongTimSort |
A stable, adaptive, iterative mergesort that requires far fewer than
n lg(n) comparisons when running on partially sorted arrays, while
offering performance comparable to a traditional mergesort when run
on random arrays.
|
MBeanWrapper.DelegatingMbeanWrapper | |
MBeanWrapper.InstanceMBeanWrapper | |
MBeanWrapper.NoOpMBeanWrapper | |
MBeanWrapper.PlatformMBeanWrapper | |
MD5Digest |
The result of the computation of an MD5 digest.
|
MergeIterator<In,Out> |
Merges sorted input iterators which individually contain unique items.
|
MergeIterator.Candidate<In> | |
MergeIterator.Reducer<In,Out> |
Accumulator that collects values of type A, and outputs a value of type B.
|
MerkleTree |
A MerkleTree implemented as a binary tree.
|
MerkleTree.RowHash |
Hash value representing a row, to be used to pass hashes to the MerkleTree.
|
MerkleTree.TreeRange |
The public interface to a range in the tree.
|
MerkleTree.TreeRangeIterator |
Returns the leaf (range) of a given tree in increasing order.
|
MerkleTrees |
Wrapper class for handling of multiple MerkleTrees at once.
|
MerkleTrees.MerkleTreesSerializer | |
MonotonicClock.AbstractEpochSamplingClock | |
MonotonicClock.AbstractEpochSamplingClock.AlmostSameTime | |
MonotonicClock.Global | |
MonotonicClock.SampledClock | |
MonotonicClock.SystemClock | |
MurmurHash |
This is a very fast, non-cryptographic hash suitable for general hash-based
lookup.
|
Mx4jTool |
If mx4j-tools is in the classpath call maybeLoad to load the HTTP interface of mx4j.
|
NativeLibrary | |
NativeLibraryDarwin |
A
NativeLibraryWrapper implementation for Darwin/Mac. |
NativeLibraryLinux |
A
NativeLibraryWrapper implementation for Linux. |
NativeSSTableLoaderClient | |
NoSpamLogger |
Logging that limits each log statement to firing based on time since the statement last fired.
|
NullableSerializer | |
ObjectSizes |
A convenience class for wrapping access to MemoryMeter
|
OutputHandler.LogOutput | |
OutputHandler.SystemOutput | |
OverlapIterator<I extends java.lang.Comparable<? super I>,V> |
A class for iterating sequentially through an ordered collection and efficiently
finding the overlapping set of matching intervals.
|
Pair<T1,T2> | |
RecomputingSupplier<T> |
Supplier that caches the last computed value until it is reset, forcing every caller of
RecomputingSupplier.get(long, TimeUnit) to wait until this value is computed if
it was not computed yet. |
ReflectionUtils | |
ResourceWatcher | |
ResourceWatcher.WatchedResource | |
RMIClientSocketFactoryImpl |
This class is used to override the local address the JMX client calculates when trying to connect,
which can otherwise be influenced by the system property "java.rmi.server.hostname" in strange and
unpredictable ways.
|
RMIServerSocketFactoryImpl | |
SigarLibrary | |
SortedBiMultiValMap<K,V> | |
StatusLogger | |
SyncUtil | |
Throwables | |
TimeUUID | |
TimeUUID.AbstractSerializer<T extends TimeUUID> | |
TimeUUID.Generator | |
TimeUUID.Serializer | |
UUIDGen |
The goods are here: www.ietf.org/rfc/rfc4122.txt.
|
UUIDSerializer | |
VoidSerializer | |
WithResources.None | |
Wrapped<T> |
Simple wrapper class to be used when a lambda function
needs to modify a variable outside it's scope.
|
WrappedBoolean |
Simple wrapper for native boolean type
|
WrappedRunnable |
Enum | Description |
---|---|
AsymmetricOrdering.Op | |
ChecksumType | |
MBeanWrapper.OnException | |
NativeLibrary.OSType | |
Nemesis.Traffic | |
NoSpamLogger.Level |
Levels for programmatically specifying the severity of a log statement
|
Shared.Recursive | |
Shared.Scope | |
Simulate.With | |
Throwables.FileOpType |
Exception | Description |
---|---|
WrappedException |
Wrapped runtime exception for lambda functions
|
Annotation Type | Description |
---|---|
BreaksJMX |
Annotation to have JMX breaking APIs not trigger test failures, each example must explain why it is ok to expose a
JMX breaking API
|
Intercept | |
Isolated |
Tells jvm-dtest that a class should be isolated and loaded into the instance class loader.
|
Nemesis |
Annotate fields, particularly important volatile fields, where the system should adversarially schedule
thread events around memory accesses (read or write).
|
Shared |
Tells jvm-dtest that a class should be shared accross all
ClassLoader s. |
Simulate |
Enable certain features for a specific method or class.
|
Copyright © 2009- The Apache Software Foundation