INNER CODE UNIT · Java
clearTokenRefreshFuture
Erudika/para · para-client/src/main/java/com/erudika/para/client/ParaClient.java:381
private void clearTokenRefreshFuture(CompletableFuture<Boolean> future) {
synchronized (tokenRefreshLock) {
if (tokenRefreshFuture == future) {
tokenRefreshFuture = null;
}
}
}
/**
* Sets the chunk size for batch CRUD operations. If chunkSize is greater than zero, any requests made to
* createAll(), readAll(), updateAll() and deleteAll() will be partitioned into chunks equal to this size.
* The chunked requests made to Para Server will be executed synchronously, and the results of all chunk
* operations are aggregated into a single response.
* @param chunkSize the number of objects per chunk
*/
public void setChunkSize(int chunkSize) {
this.chunkSize = chunkSize;
}