Class BulkRequest<T>
java.lang.Object
com.miketheshadow.cryptolib.request.bulkrequest.BulkRequest<T>
-
Constructor Summary
ConstructorsConstructorDescriptionBulkRequest(CryptoLib lib, List<? extends Requestable> requestables, Class<?> mapping, boolean retryOnError) BulkRequest(String nodeString, List<? extends Requestable> requestables, Class<?> mapping, boolean retryOnError) -
Method Summary
Modifier and TypeMethodDescriptionget()static com.fasterxml.jackson.databind.JavaTypegetCollectionType(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<?> collectionClass, Class<?>... elementClasses) voidsetDelayOnError(int delay) voidwithDelay(int seconds) void
-
Constructor Details
-
BulkRequest
public BulkRequest(CryptoLib lib, List<? extends Requestable> requestables, Class<?> mapping, boolean retryOnError) -
BulkRequest
public BulkRequest(String nodeString, List<? extends Requestable> requestables, Class<?> mapping, boolean retryOnError)
-
-
Method Details
-
withDelay
public void withDelay(int seconds) -
withExtraDebug
public void withExtraDebug() -
setDelayOnError
public void setDelayOnError(int delay) -
get
- Throws:
RequestException
-
getCollectionType
-