public class AeronCaptureDevice extends CaptureDevice<byte[],byte[]>
CaptureDevice implementation that polls from an Aeron subscriberbufferedPublisher, stats| Constructor and Description |
|---|
AeronCaptureDevice(AeronCaptureDeviceConfig config,
io.thill.trakrj.Stats stats) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup() |
protected RecordPopulator<byte[],byte[]> |
createRecordPopulator(String topic,
int partition,
Clock clock) |
protected boolean |
doWork() |
protected void |
init() |
static void |
main(String... args) |
protected void |
onClose() |
close, isStarted, run, startpublic AeronCaptureDevice(AeronCaptureDeviceConfig config, io.thill.trakrj.Stats stats)
public static void main(String... args) throws IOException
IOExceptionprotected RecordPopulator<byte[],byte[]> createRecordPopulator(String topic, int partition, Clock clock)
createRecordPopulator in class CaptureDevice<byte[],byte[]>protected void init()
init in class CaptureDevice<byte[],byte[]>protected boolean doWork()
doWork in class CaptureDevice<byte[],byte[]>protected void cleanup()
cleanup in class CaptureDevice<byte[],byte[]>protected void onClose()
onClose in class CaptureDevice<byte[],byte[]>Copyright © 2019. All rights reserved.