org.jbpm.executor.impl.concurrent

## Class PrioritisedRunnable

- java.lang.Object
- - org.jbpm.executor.impl.concurrent.PrioritisedRunnable

- All Implemented Interfaces:
    Runnable

      public class PrioritisedRunnable
      extends Object
      implements Runnable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrioritisedRunnable(long id, int priority, Date fireDate, AvailableJobsExecutor availableJobsExecutor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `Date` | `getFireDate()`
    `long` | `getId()`
    `int` | `getPriority()`
    `int` | `hashCode()`
    `void` | `run()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PrioritisedRunnable

          public PrioritisedRunnable(long id,
                                     int priority,
                                     Date fireDate,
                                     AvailableJobsExecutor availableJobsExecutor)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### getId

          public long getId()

    - #### getPriority

          public int getPriority()

    - #### getFireDate

          public Date getFireDate()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.