Package org.apache.giraph.utils

Package of all generic utility classes.

See:
          Description

Interface Summary
CallableFactory<R> Factory for creating Callables
ExtendedDataInput Add some functionality to data input
ExtendedDataOutput Add a few features to data output
 

Class Summary
AnnotationUtils Helper class to deal with annotations in runtime.
ArrayListWritable<M extends Writable> A Writable for ListArray containing instances of a class.
ByteArrayIterable<T extends Writable> This iterable is designed to deserialize a byte array on the fly to provide new copies of writable objects when desired.
ByteArrayIterator<T extends Writable> This iterator is designed to deserialize a byte array on the fly to provide new copies of writable objects when desired.
ByteArrayVertexIdData<I extends WritableComparable,T> Stores pairs of vertex id and generic data in a single byte array
ByteArrayVertexIdEdges<I extends WritableComparable,E extends Writable> Stores vertex id and edge pairs in a single byte array.
ByteArrayVertexIdMessages<I extends WritableComparable,M extends Writable> Stores vertex id and message pairs in a single byte array.
CollectionUtils Helper methods for Collections
ConfigurationUtils Translate command line args into Configuration Key-Value pairs.
DynamicChannelBufferInputStream Special input that reads from a DynamicChannelBuffer.
DynamicChannelBufferOutputStream Special output stream that can grow as needed and dumps to a DynamicChannelBuffer.
EdgeComparator<I extends WritableComparable,E extends WritableComparable> Comparator for edges.
EdgeIterables Utility methods for iterables of edges.
EmptyIterable<T> Singleton class for empty iterables.
ExtendedByteArrayDataInput Provides access to a internals of ByteArrayInputStream
ExtendedByteArrayDataOutput Adds some functionality to ByteArrayOutputStream, such as an option to write int value over previously written data and directly get the byte array.
FileUtils Helper class for filesystem operations during testing
IncreasingBitSet Bit set optimized for increasing longs to save storage space.
InMemoryVertexInputFormat<I extends WritableComparable,V extends Writable,E extends Writable> An input format that reads the input graph in memory.
InternalVertexRunner A base class for running internal tests on a vertex Extending classes only have to invoke the run() method to test their vertex.
IntPair A pair of integers.
JMap Helper to run jmap and print the output
JMapHistoDumper An observer for both worker and master that periodically dumps the memory usage using jmap tool.
LoggerUtils Logger utils for log4j
LogStacktraceCallable<V> A wrapper to improve debugging.
MasterLoggingAggregator Helper class for using aggregator which gathers log messages from workers and prints them on master.
MathUtils A helper class for math related operations with writables
MemoryUtils Helper static methods for tracking memory usage.
PairList<U,V> Collection to keep pairs in, without creating a wrapper object around each pair of objects.
ProgressableUtils Functions for waiting on some events to happen while reporting progress
ReflectionUtils Helper methods to get type arguments to generic classes.
RepresentativeByteArrayIterable<T extends Writable> The objects provided by the iterators generated from this object have lifetimes only until next() is called.
RepresentativeByteArrayIterator<T extends Writable> The objects provided by this iterator have lifetimes only until next() is called.
TaskIdsPermitsBarrier This barrier is used when we don't know how many events are we waiting on from the start.
TestGraph<I extends WritableComparable,V extends Writable,E extends Writable> TestGraph class for in-memory testing.
TimedLogger Print log messages only if the time is met.
UnsafeByteArrayInputStream Byte array output stream that uses Unsafe methods to serialize/deserialize much faster
UnsafeByteArrayOutputStream Byte array output stream that uses Unsafe methods to serialize/deserialize much faster
VertexIdIterator<I extends WritableComparable> Common implementation for VertexIdEdgeIterator, VertexIdMessageIterator and VertexIdMessageBytesIterator.
WritableUtils Helper static methods for working with Writable objects.
YourKitContext Convenience context for profiling.
YourKitProfiler Helper for YourKit profiling from within the code.
 

Package org.apache.giraph.utils Description

Package of all generic utility classes.



Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.