| Package | Description |
|---|---|
| org.apache.hadoop.fs.statistics.impl |
Implementation support for statistics.
|
| org.apache.hadoop.fs.store.audit |
Auditing classes for internal
use within the hadoop-* modules only.
|
| org.apache.hadoop.io.wrappedio |
Support for dynamic access to filesystem operations which are not available
in older hadoop releases.
|
| org.apache.hadoop.util.functional |
Support for functional programming within the Hadoop APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <A,B> |
IOStatisticsBinding.trackFunctionDuration(DurationTrackerFactory factory,
java.lang.String statistic,
FunctionRaisingIOE<A,B> inputFn) |
Given an IOException raising function/lambda expression,
return a new one which wraps the inner and tracks
the duration of the operation, including whether
it passes/fails.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <A,B> |
IOStatisticsBinding.trackFunctionDuration(DurationTrackerFactory factory,
java.lang.String statistic,
FunctionRaisingIOE<A,B> inputFn) |
Given an IOException raising function/lambda expression,
return a new one which wraps the inner and tracks
the duration of the operation, including whether
it passes/fails.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T,R> |
AuditingFunctions.withinAuditSpan(AuditSpan auditSpan,
FunctionRaisingIOE<T,R> operation) |
Given a function, return a new function which
activates and deactivates the span around the inner one.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T,R> |
AuditingFunctions.withinAuditSpan(AuditSpan auditSpan,
FunctionRaisingIOE<T,R> operation) |
Given a function, return a new function which
activates and deactivates the span around the inner one.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
WrappedStatistics.applyToIOStatisticsSnapshot(java.io.Serializable source,
FunctionRaisingIOE<IOStatisticsSnapshot,T> fun) |
Apply a function to an object which may be an IOStatisticsSnapshot.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <S> RemoteIterator<S> |
RemoteIterators.filteringRemoteIterator(RemoteIterator<S> iterator,
FunctionRaisingIOE<? super S,java.lang.Boolean> filter) |
Create a RemoteIterator from a RemoteIterator and a filter
function which returns true for every element to be passed
through.
|
static <S,T> |
RemoteIterators.mappingRemoteIterator(RemoteIterator<S> iterator,
FunctionRaisingIOE<? super S,T> mapper) |
Create an iterator from an iterator and a transformation function.
|
static <T,R> |
FunctionalIO.toUncheckedFunction(FunctionRaisingIOE<T,R> fun) |
Convert a
FunctionRaisingIOE as a Supplier. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.