Class ClientModLoader.SpacedRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ClientModLoader

    private static class ClientModLoader.SpacedRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long lastRun  
      (package private) static long NANO_SLEEP_TIME  
      private java.lang.Runnable wrapped  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SpacedRunnable​(java.lang.Runnable wrapped)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • NANO_SLEEP_TIME

        static final long NANO_SLEEP_TIME
      • wrapped

        private final java.lang.Runnable wrapped
      • lastRun

        private long lastRun
    • Constructor Detail

      • SpacedRunnable

        private SpacedRunnable​(java.lang.Runnable wrapped)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable