OptimizeOptions
Contents
[
Hide
]
Inheritance: java.lang.Object
public class OptimizeOptions
Provides options for the optimize operation.
Constructors
Constructor | Description |
---|---|
OptimizeOptions() | Initializes a new instance of the OptimizeOptions class. |
OptimizeOptions(Object data) | Initializes a new instance of the OptimizeOptions class. |
Methods
Method | Description |
---|---|
isAsync() | Gets the flag of asynchronous performing the operation. |
setAsync(boolean value) | Sets the flag of asynchronous performing the operation. |
getCore() |
OptimizeOptions()
public OptimizeOptions()
Initializes a new instance of the OptimizeOptions class.
OptimizeOptions(Object data)
public OptimizeOptions(Object data)
Initializes a new instance of the OptimizeOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | java.lang.Object | The serialized data. |
isAsync()
public boolean isAsync()
Gets the flag of asynchronous performing the operation. The default value is false .
Returns: boolean - The flag of asynchronous performing the operation.
setAsync(boolean value)
public void setAsync(boolean value)
Sets the flag of asynchronous performing the operation. The default value is false .
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The flag of asynchronous performing the operation. |
getCore()
public Object getCore()
Returns: java.lang.Object