Package org.apache.cassandra.utils

Interface Summary
CloseableIterator<T>  
 

Class Summary
AbstractStatsDeque  
BloomFilter  
BoundedStatsDeque not threadsafe.
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(); } }
CLibrary  
DefaultDouble Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
DefaultInteger Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
DestructivePQIterator<T>  
EstimatedHistogram  
EstimatedHistogram.EstimatedHistogramSerializer  
ExpiringMap<K,V>  
FBUtilities  
Filter  
GuidGenerator  
LatencyTracker  
LegacyBloomFilter  
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 Performs a depth-first, inorder traversal of invalid nodes under the given root and intersecting the given range.
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.
Pair<T1,T2>  
ReducingIterator<T1,T2> reduces equal values from the source iterator to a single (optionally transformed) instance.
ResourceWatcher  
ResourceWatcher.WatchedResource  
SimpleCondition  
SkipNullRepresenter Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
StatusLogger  
UUIDGen Generates type 1 (time-based) UUIDs
WrappedRunnable  
XMLUtils  
 



Copyright © 2011 The Apache Software Foundation