Class ExecutorsHelper.PrioritizedRunnable

java.lang.Object
velox.api.layer1.common.helper.ExecutorsHelper.PrioritizedRunnable
All Implemented Interfaces:
java.lang.Comparable<ExecutorsHelper.PrioritizedRunnable>, java.lang.Runnable
Enclosing class:
ExecutorsHelper

public static class ExecutorsHelper.PrioritizedRunnable
extends java.lang.Object
implements java.lang.Runnable, java.lang.Comparable<ExecutorsHelper.PrioritizedRunnable>
Runnable with an integer priority. Lower number means faster execution.
  • Constructor Summary

    Constructors 
    Constructor Description
    PrioritizedRunnable​(java.lang.Runnable runnable, int priority)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(ExecutorsHelper.PrioritizedRunnable o)  
    void run()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait