public class FlushCallbackFactory extends Object implements CallbackFactory
| 限定符和类型 | 字段和说明 |
|---|---|
protected BucketConfig |
bucketConfig |
protected Semaphore |
bucketSemaphore |
protected TableStoreCallback<RowChange,RowWriteResult> |
callback |
protected Semaphore |
callbackSemaphore |
protected Executor |
executor |
protected AsyncClientInterface |
ots |
protected WriterConfig |
writerConfig |
protected WriterHandleStatistics |
writerStatistics |
| 构造器和说明 |
|---|
FlushCallbackFactory(AsyncClientInterface ots,
Semaphore callbackSemaphore,
TableStoreCallback<RowChange,RowWriteResult> callback,
Executor executor,
WriterHandleStatistics writerStatistics,
BucketConfig bucketConfig,
Semaphore bucketSemaphore) |
| 限定符和类型 | 方法和说明 |
|---|---|
TableStoreCallback |
newInstance(List<Group> groupList)
When supporting batch management, pass in the group instance of each row
Actively update batch statistics after the callback ends the request
|
protected AsyncClientInterface ots
protected BucketConfig bucketConfig
protected WriterConfig writerConfig
protected Semaphore callbackSemaphore
protected TableStoreCallback<RowChange,RowWriteResult> callback
protected Executor executor
protected WriterHandleStatistics writerStatistics
protected Semaphore bucketSemaphore
public FlushCallbackFactory(AsyncClientInterface ots, Semaphore callbackSemaphore, TableStoreCallback<RowChange,RowWriteResult> callback, Executor executor, WriterHandleStatistics writerStatistics, BucketConfig bucketConfig, Semaphore bucketSemaphore)
public TableStoreCallback newInstance(List<Group> groupList)
CallbackFactorynewInstance 在接口中 CallbackFactoryCopyright © 2025. All Rights Reserved.