public interface DiskHandler
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
buildDiskHandlerParams(int maxFetchedBulksInOneTime,
int maxInsertTries,
String locationInDisk) |
void |
close() |
int |
failedBulksAmount() |
List<DbBulkRequest> |
fetchAndDeleteFailedBulks() |
boolean |
hasFailedBulks() |
boolean |
isCreatedSuccessfully() |
void |
persistToDisk(DbBulkRequest dbBulkRequest) |
List<DbBulkRequest> fetchAndDeleteFailedBulks()
void persistToDisk(DbBulkRequest dbBulkRequest) throws MaximumInsertTriesException
MaximumInsertTriesExceptionboolean hasFailedBulks()
boolean isCreatedSuccessfully()
static Map<String,Object> buildDiskHandlerParams(int maxFetchedBulksInOneTime, int maxInsertTries, String locationInDisk)
int failedBulksAmount()
void close()
Copyright © 2020. All rights reserved.