| Package | Description |
|---|---|
| org.apache.hadoop.fs.statistics.impl |
Implementation support for statistics.
|
| org.apache.hadoop.util.functional |
Support for functional programming within the Hadoop APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <B> ConsumerRaisingIOE<B> |
IOStatisticsBinding.trackDurationConsumer(DurationTrackerFactory factory,
java.lang.String statistic,
ConsumerRaisingIOE<B> input) |
Given an IOException raising Consumer,
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> ConsumerRaisingIOE<B> |
IOStatisticsBinding.trackDurationConsumer(DurationTrackerFactory factory,
java.lang.String statistic,
ConsumerRaisingIOE<B> input) |
Given an IOException raising Consumer,
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 |
|---|---|---|
default ConsumerRaisingIOE<T> |
ConsumerRaisingIOE.andThen(ConsumerRaisingIOE<? super T> next) |
after calling
accept(Object),
invoke the next consumer in the chain. |
| Modifier and Type | Method | Description |
|---|---|---|
default ConsumerRaisingIOE<T> |
ConsumerRaisingIOE.andThen(ConsumerRaisingIOE<? super T> next) |
after calling
accept(Object),
invoke the next consumer in the chain. |
static <T> long |
RemoteIterators.foreach(RemoteIterator<T> source,
ConsumerRaisingIOE<? super T> consumer) |
Apply an operation to all values of a RemoteIterator.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.