Class SimulateLoadTask

  • All Implemented Interfaces:
    HazelcastInstanceAware,, java.util.concurrent.Callable

    public final class SimulateLoadTask
    extends java.lang.Object
    implements java.util.concurrent.Callable,, HazelcastInstanceAware
    A simulated load test.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      SimulateLoadTask​(int delay, int taskId, java.lang.String latchId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object call()  
      void setHazelcastInstance​(HazelcastInstance hazelcastInstance)
      Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimulateLoadTask

        public SimulateLoadTask​(int delay,
                                int taskId,
                                java.lang.String latchId)
    • Method Detail

      • call

        public java.lang.Object call()
                              throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable