public class IOUtilsClient
extends java.lang.Object
| Constructor | Description |
|---|---|
IOUtilsClient() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
cleanupWithLogger(org.slf4j.Logger log,
java.io.Closeable... closeables) |
Close the Closeable objects and ignore any
IOException or
null pointers. |
static void |
updateReadStatistics(ReadStatistics readStatistics,
int nRead,
boolean isShortCircuit,
int networkDistance) |
|
static void |
updateReadStatistics(ReadStatistics readStatistics,
int nRead,
BlockReader blockReader) |
public static void cleanupWithLogger(org.slf4j.Logger log,
java.io.Closeable... closeables)
IOException or
null pointers. Must only be used for cleanup in exception handlers.log - the log to record problems to at debug level. Can be null.closeables - the objects to closepublic static void updateReadStatistics(ReadStatistics readStatistics, int nRead, BlockReader blockReader)
public static void updateReadStatistics(ReadStatistics readStatistics, int nRead, boolean isShortCircuit, int networkDistance)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.