INNER CODE UNIT · Java
setChunkSize
Erudika/para · para-client/src/main/java/com/erudika/para/client/ParaClient.java:396
public void setChunkSize(int chunkSize) {
this.chunkSize = chunkSize;
}
/**
* Returns the batch chunk size.
* @return the chunk size used for batch CRUD operations
*/
public int getChunkSize() {
return chunkSize;
}
/**
* Enable/disable exception throwing in ParaClient.
* @param enabled if true, the client will throw an exception when an error response is received.
* If false, the error is only logged. Default is false.
*/
public void throwExceptionOnHTTPError(boolean enabled) {