@ThreadSafe
public final class PointValuesLoader
extends Object
implements Callable<Integer>
Helper class for scripts: on call()
, it sends the
PointValue
s obtained from an PointValuesLoader.Input
to a store via a
StoreSessionProxy
.
Modifier and Type | Class and Description |
---|---|
static interface |
PointValuesLoader.Input
Input.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BATCH_LIMIT
Default batch limit.
|
Constructor and Description |
---|
PointValuesLoader(StoreSessionProxy storeSessionProxy,
PointValuesLoader.Input input)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Integer |
call() |
int |
getBatchLimit()
Gets the batch limit.
|
void |
setBatchLimit(int batchLimit)
Sets the batch limit.
|
public static final int DEFAULT_BATCH_LIMIT
public PointValuesLoader(@Nonnull StoreSessionProxy storeSessionProxy, @Nonnull PointValuesLoader.Input input)
storeSessionProxy
- A store session proxy.input
- An input.public Integer call() throws Exception
call
in interface Callable<Integer>
Exception
@CheckReturnValue public int getBatchLimit()
public void setBatchLimit(int batchLimit)
batchLimit
- The batch limit.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.