Interface SplitWriter.IStrategy
- All Known Implementing Classes:
SplitWriter.Strategy
- Enclosing class:
SplitWriter
public static interface SplitWriter.IStrategy
Strategy for distributing the records written to a
SplitWriter among the readers it created.-
Method Summary
Modifier and TypeMethodDescriptionvoidput(SplitWriter writer, Record record) Queues a written record for one or more of the writer's readers; called on the writing thread.take(SplitReader reader) Returns the next record from the reader's queue, blocking until one is available; called on the reader's thread.