public class ReaderEventHandler extends Object implements com.lmax.disruptor.EventHandler<ReaderEvent>
| 构造器和说明 |
|---|
ReaderEventHandler(AsyncClientInterface ots,
TableStoreReaderConfig config,
Executor executor,
Semaphore callbackSemaphore,
TableStoreCallback<PrimaryKeyWithTable,RowReadResult> callback,
ReaderStatistics statistics) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onEvent(ReaderEvent readerEvent,
long l,
boolean b) |
void |
setCallback(TableStoreCallback<PrimaryKeyWithTable,RowReadResult> callback) |
void |
setRowQueryCriteria(RowQueryCriteria rowQueryCriteria) |
public ReaderEventHandler(AsyncClientInterface ots, TableStoreReaderConfig config, Executor executor, Semaphore callbackSemaphore, TableStoreCallback<PrimaryKeyWithTable,RowReadResult> callback, ReaderStatistics statistics)
public void onEvent(ReaderEvent readerEvent, long l, boolean b) throws Exception
onEvent 在接口中 com.lmax.disruptor.EventHandler<ReaderEvent>Exceptionpublic void setRowQueryCriteria(RowQueryCriteria rowQueryCriteria)
public void setCallback(TableStoreCallback<PrimaryKeyWithTable,RowReadResult> callback)
Copyright © 2025. All Rights Reserved.