public final class SimulateLoadTask extends Object implements Callable, Serializable, HazelcastInstanceAware
Constructor and Description |
---|
SimulateLoadTask(int delay,
int taskId,
String latchId) |
Modifier and Type | Method and Description |
---|---|
Object |
call() |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance)
Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.
|
public SimulateLoadTask(int delay, int taskId, String latchId)
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
HazelcastInstanceAware
setHazelcastInstance
in interface HazelcastInstanceAware
hazelcastInstance
- the HazelcastInstance referenceCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.