Package one.microstream.afs
Interface AFile.Observer
- Enclosing interface:
- AFile
public static interface AFile.Observer
-
Method Summary
Modifier and Type Method Description default void
onAfterFileClose(AReadableFile closedFile, boolean result)
default void
onAfterFileCreate(AWritableFile fileToCreate)
default void
onAfterFileDelete(AWritableFile deletedFile, boolean result)
default void
onAfterFileMove(AWritableFile sourceFile, AWritableFile targetFile)
default void
onAfterFileTruncation(AWritableFile truncatedFile, long newSize)
default void
onAfterFileWrite(AWritableFile targetFile, Iterable<? extends ByteBuffer> sources, long writeCount)
default void
onBeforeFileClose(AReadableFile fileToClose)
default void
onBeforeFileCreate(AWritableFile fileToCreate)
default void
onBeforeFileDelete(AWritableFile fileToDelete)
default void
onBeforeFileMove(AWritableFile sourceFile, AWritableFile targetFile)
default void
onBeforeFileTruncation(AWritableFile fileToTruncate, long newSize)
default void
onBeforeFileWrite(AWritableFile targetFile, Iterable<? extends ByteBuffer> sources)
-
Method Details
-
onBeforeFileWrite
-
onAfterFileWrite
default void onAfterFileWrite(AWritableFile targetFile, Iterable<? extends ByteBuffer> sources, long writeCount) -
onBeforeFileMove
-
onAfterFileMove
-
onBeforeFileClose
-
onAfterFileClose
-
onBeforeFileCreate
-
onAfterFileCreate
-
onBeforeFileTruncation
-
onAfterFileTruncation
-
onBeforeFileDelete
-
onAfterFileDelete
-