com.hazelcast.console
Class SimulateLoadTask
java.lang.Object
com.hazelcast.console.SimulateLoadTask
- All Implemented Interfaces:
- HazelcastInstanceAware, Serializable, Callable
public final class SimulateLoadTask
- extends Object
- implements Callable, Serializable, HazelcastInstanceAware
A simulated load test
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulateLoadTask
public SimulateLoadTask(int delay,
int taskId,
String latchId)
setHazelcastInstance
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
- Description copied from interface:
HazelcastInstanceAware
- Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.
- Specified by:
setHazelcastInstance
in interface HazelcastInstanceAware
- Parameters:
hazelcastInstance
- the HazelcastInstance reference
call
public Object call()
throws Exception
- Specified by:
call
in interface Callable
- Throws:
Exception
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.