public class BulkOperationOptions
extends java.lang.Object
Constructor and Description |
---|
BulkOperationOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMaxOpsPerSec()
limits the amount of base operation per second allowed.
|
java.lang.Long |
getStaleTimeout() |
boolean |
isAllowStale() |
boolean |
isRetrieveDetails()
Determines whether operation details about each document should be returned by server.
|
void |
setAllowStale(boolean allowStale)
indicates whether operations are allowed on stale indexes.
|
void |
setMaxOpsPerSec(java.lang.Integer maxOpsPerSec)
limits the amount of base operation per second allowed.
|
void |
setRetrieveDetails(boolean retrieveDetails)
Determines whether operation details about each document should be returned by server.
|
void |
setStaleTimeout(java.lang.Long staleTimeout) |
public boolean isRetrieveDetails()
public void setRetrieveDetails(boolean retrieveDetails)
retrieveDetails
- public boolean isAllowStale()
public void setAllowStale(boolean allowStale)
allowStale
- public java.lang.Long getStaleTimeout()
public void setStaleTimeout(java.lang.Long staleTimeout)
public java.lang.Integer getMaxOpsPerSec()
public void setMaxOpsPerSec(java.lang.Integer maxOpsPerSec)
maxOpsPerSec
- Copyright © 2014. All Rights Reserved.