| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
| 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.util.functional |
Support for functional programming within the Hadoop APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> java.util.concurrent.CompletableFuture<T> |
FutureIOSupport.eval(CallableRaisingIOE<T> callable) |
Deprecated.
Evaluate a CallableRaisingIOE in the current thread,
converting IOEs to RTEs and propagating.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <B> CallableRaisingIOE<B> |
IOStatisticsBinding.trackDurationOfOperation(DurationTrackerFactory factory,
java.lang.String statistic,
CallableRaisingIOE<B> input) |
Given an IOException raising callable/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 <B> B |
IOStatisticsBinding.invokeTrackingDuration(DurationTracker tracker,
CallableRaisingIOE<B> input) |
Given an IOException raising callable/lambda expression,
execute it, updating the tracker on success/failure.
|
static <B> B |
IOStatisticsBinding.trackDuration(DurationTrackerFactory factory,
java.lang.String statistic,
CallableRaisingIOE<B> input) |
Given an IOException raising callable/lambda expression,
execute it and update the relevant statistic.
|
static <B> CallableRaisingIOE<B> |
IOStatisticsBinding.trackDurationOfOperation(DurationTrackerFactory factory,
java.lang.String statistic,
CallableRaisingIOE<B> input) |
Given an IOException raising callable/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> CallableRaisingIOE<T> |
AuditingFunctions.withinAuditSpan(AuditSpan auditSpan,
CallableRaisingIOE<T> operation) |
Given a callable, return a new callable which
activates and deactivates the span around the inner invocation.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> CallableRaisingIOE<T> |
AuditingFunctions.withinAuditSpan(AuditSpan auditSpan,
CallableRaisingIOE<T> operation) |
Given a callable, return a new callable which
activates and deactivates the span around the inner invocation.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
LazyAtomicReference<T> |
A lazily constructed reference, whose reference
constructor is a
CallableRaisingIOE so
may raise IOExceptions. |
class |
LazyAutoCloseableReference<T extends java.lang.AutoCloseable> |
A subclass of
LazyAtomicReference which
holds an AutoCloseable reference and calls close()
when it itself is closed. |
| Modifier and Type | Method | Description |
|---|---|---|
protected CallableRaisingIOE<? extends T> |
LazyAtomicReference.getConstructor() |
Getter for the constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> java.util.concurrent.CompletableFuture<T> |
FutureIO.eval(CallableRaisingIOE<T> callable) |
Evaluate a CallableRaisingIOE in the current thread,
converting IOEs to RTEs and propagating.
|
static <S> RemoteIterator<S> |
RemoteIterators.haltableRemoteIterator(RemoteIterator<S> iterator,
CallableRaisingIOE<java.lang.Boolean> continueWork) |
Wrap an iterator with one which adds a continuation probe.
|
static <T> java.util.function.Supplier<T> |
FunctionalIO.toUncheckedIOExceptionSupplier(CallableRaisingIOE<T> call) |
Wrap a
CallableRaisingIOE as a Supplier. |
static <T> T |
FunctionalIO.uncheckIOExceptions(CallableRaisingIOE<T> call) |
Invoke any operation, wrapping IOExceptions with
UncheckedIOException. |
| Constructor | Description |
|---|---|
LazyAtomicReference(CallableRaisingIOE<? extends T> constructor) |
Constructor for this instance.
|
LazyAutoCloseableReference(CallableRaisingIOE<? extends T> constructor) |
Constructor for this instance.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.