Class Utils.SmartThread

java.lang.Object
java.lang.Thread
org.apache.storm.utils.Utils.SmartThread
All Implemented Interfaces:
Runnable
Enclosing class:
Utils

public static class Utils.SmartThread extends Thread
A thread that can answer if it is sleeping in the case of simulated time. This class is not useful when simulated time is not being used.
  • Constructor Details

    • SmartThread

      public SmartThread(Runnable r)
  • Method Details

    • isSleeping

      public boolean isSleeping()