PrefetchingStatistics, IOStatisticsSourcepublic final class EmptyPrefetchingStatistics extends java.lang.Object implements PrefetchingStatistics
| Modifier and Type | Method | Description |
|---|---|---|
void |
blockAddedToFileCache() |
A block has been saved to the file cache.
|
void |
blockEvictedFromFileCache() |
A block has been evicted from the file cache.
|
void |
blockRemovedFromFileCache() |
A block has been removed from the file cache.
|
void |
executorAcquired(java.time.Duration timeInQueue) |
An executor has been acquired, either for prefetching or caching.
|
static EmptyPrefetchingStatistics |
getInstance() |
|
void |
memoryAllocated(int size) |
A new buffer has been added to the buffer pool.
|
void |
memoryFreed(int size) |
Previously allocated memory has been freed.
|
void |
prefetchOperationCompleted() |
A prefetch operation has completed.
|
DurationTracker |
prefetchOperationStarted() |
A prefetch operation has started.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIOStatisticspublic static EmptyPrefetchingStatistics getInstance()
public DurationTracker prefetchOperationStarted()
PrefetchingStatisticsprefetchOperationStarted in interface PrefetchingStatisticspublic void blockAddedToFileCache()
PrefetchingStatisticsblockAddedToFileCache in interface PrefetchingStatisticspublic void blockRemovedFromFileCache()
PrefetchingStatisticsblockRemovedFromFileCache in interface PrefetchingStatisticspublic void blockEvictedFromFileCache()
PrefetchingStatisticsblockEvictedFromFileCache in interface PrefetchingStatisticspublic void prefetchOperationCompleted()
PrefetchingStatisticsprefetchOperationCompleted in interface PrefetchingStatisticspublic void executorAcquired(java.time.Duration timeInQueue)
PrefetchingStatisticsexecutorAcquired in interface PrefetchingStatisticstimeInQueue - time taken to acquire an executor.public void memoryAllocated(int size)
PrefetchingStatisticsmemoryAllocated in interface PrefetchingStatisticssize - size of the new bufferpublic void memoryFreed(int size)
PrefetchingStatisticsmemoryFreed in interface PrefetchingStatisticssize - size of memory freed.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.