Package org.apache.hadoop.hdfs.util
package org.apache.hadoop.hdfs.util
-
ClassDescriptionUntil we migrate to log4j2, use this appender for namenode audit logger as well as datanode and namenode metric loggers with log4j properties, if async logging is required with RFA.A FileOutputStream that has the property that it will only show up at its destination once it has been entirely written and flushed to disk.Class that represents a file on disk which stores a single
longvalue, but does not make any effort to make it truly durable.Wrapper for byte[] to use byte[] as key in HashMapProvides a simple interface where one thread can mark an operation for cancellation, and another thread can poll for whether the cancellation has occurred.ConstEnumCounters<E extends Enum<E>>Const Counters for an enum type.An exception class for modification on ConstEnumCounters.CyclicIteration<K,V> Provide an cyclicIteratorfor aNavigableMap.a class to throttle the data transfers.Diff<K,E extends Diff.Element<K>> The difference between the current state and a previous state of a list.Containing exactly one element.Diff.Element<K>An interface for the elements in aDiff.An interface for passing a method in order to process elements.Undo information for some operations such as delete(E) andDiff.modify(Element, Element).EnumCounters<E extends Enum<E>>Counters for an enum type.EnumDoubles<E extends Enum<E>>Similar toEnumCountersexcept that the value type is double.Holder<T>A Holder is simply a wrapper around some other object.A low memory linked hash set implementation, which uses an array for storing the elements and linked lists for collision resolution.A low memory linked hash set implementation, which uses an array for storing the elements and linked lists for collision resolution.Static functions for dealing with files of the same format that the Unix "md5sum" utility writes.Class that represents a file on disk which persistently stores a singlelongvalue.ReadOnlyList<E>AReadOnlyListis a unmodifiable list, which supports read-only operations.Utilities forReadOnlyListClass for de-duplication of instances.Interface for the reference count holderRead-write lock interface for FSNamesystem.This lock mode is used for FGL.General xml utilities.Exception that reflects an invalid XML document.Represents a bag of key-value pairs encountered during parsing an XML file.Exception that reflects a string that cannot be unmangled.