Interface OOCIOHandler
- All Known Implementing Classes:
OOCMatrixIOHandler
public interface OOCIOHandler
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic interfacestatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptioncontinueSourceRead(OOCIOHandler.SourceReadContinuation continuation, long maxBytesInFlight) Continue a previously throttled source read using the provided continuation token.voidprioritizeRead(BlockKey key, double priority) Increase priority for a pending scheduled read if it has not started yet.voidregisterSourceLocation(BlockKey key, OOCIOHandler.SourceBlockDescriptor descriptor) Registers the source location of a block for future direct reads.scheduleDeletion(BlockEntry block) scheduleEviction(BlockEntry block) scheduleRead(BlockEntry block) Schedule an asynchronous read from an external source into the provided target stream.voidshutdown()
-
Method Details
-
shutdown
void shutdown() -
scheduleEviction
-
scheduleRead
-
prioritizeRead
Increase priority for a pending scheduled read if it has not started yet. -
scheduleDeletion
-
registerSourceLocation
Registers the source location of a block for future direct reads. -
scheduleSourceRead
CompletableFuture<OOCIOHandler.SourceReadResult> scheduleSourceRead(OOCIOHandler.SourceReadRequest request) Schedule an asynchronous read from an external source into the provided target stream. The returned future completes when either EOF is reached or the requested byte budget is exhausted. When the budget is reached and keepOpenOnLimit is true, the target stream is kept open and a continuation token is provided so the caller can resume. -
continueSourceRead
CompletableFuture<OOCIOHandler.SourceReadResult> continueSourceRead(OOCIOHandler.SourceReadContinuation continuation, long maxBytesInFlight) Continue a previously throttled source read using the provided continuation token.
-