AbstractGuavaIterator<T> |
This is fork of the Guava AbstractIterator, the only difference
is that the next variable is now protected so that the KeyRangeIterator.skipTo
method can avoid early state changed.
|
AbstractIterator<V> |
|
Architecture |
|
AsymmetricOrdering<T1,T2> |
|
Backoff.ExponentialBackoff |
|
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();
}
}
|
CassandraUInt |
This class packages several UInt utility methods so we can easily change it's implementation when needed.
|
CassandraVersion |
Implements versioning used in Cassandra and CQL.
|
Clock.Default |
|
Clock.Global |
|
CollectionSerializer |
|
Collectors3 |
Some extra Collector implementations.
|
Comparables |
Utility methods linked to comparing comparable values.
|
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> |
|
ExpMovingAverage |
Sample-based exponential moving average.
|
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>> |
|
JavaDriverUtils |
|
JavaUtils |
Utility method to retrieve information about the JRE.
|
JMXServerUtils |
|
JMXServerUtils.JmxRegistry |
|
JsonUtils |
|
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.
|
Overlaps |
|
Pair<T1,T2> |
|
RangesSerializer |
|
RecomputingSupplier<T> |
|
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 |
|