Interface FileDataBufferStore.ReadRecorder

Enclosing class:
FileDataBufferStore
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FileDataBufferStore.ReadRecorder
A functional interface for recording read operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    recordRead(long elapsedNanos, int bytesRead)
    Record a read operation.
  • Method Details

    • recordRead

      void recordRead(long elapsedNanos, int bytesRead)
      Record a read operation.
      Parameters:
      elapsedNanos - the number of nanos the read operation took
      bytesRead - how many bytes the read operation read