IOStatisticsSourcepublic class SourceWrappedStatistics extends java.lang.Object implements IOStatisticsSource
IOStatisticsSource
instance which will then serve up the statistics when asked.| Constructor | Description |
|---|---|
SourceWrappedStatistics(IOStatistics source) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
getIOStatistics() |
Return a statistics instance.
|
public SourceWrappedStatistics(IOStatistics source)
source - source of statistics.public IOStatistics getIOStatistics()
IOStatisticsSource
It is not a requirement that the same instance is returned every time.
IOStatisticsSource.
If the object implementing this is Closeable, this method may return null if invoked on a closed object, even if it returns a valid instance when called earlier.
getIOStatistics in interface IOStatisticsSourceCopyright © 2008–2025 Apache Software Foundation. All rights reserved.