Package ghidra.util.timer

# Interface GTimerMonitor

public interface GTimerMonitor
Monitor object returned from a GTimer.schedule() call

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final GTimerMonitor`
  `DUMMY`
  A dummy implementation of this interface

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `cancel()`
  Cancels the scheduled runnable associated with this GTimerMonitor if it has not already run.
  `boolean`
  `didRun()`
  Return true if the scheduled runnable has completed.
  `boolean`
  `wasCancelled()`
  Return true if the scheduled runnable was cancelled before it had a chance to run.

- ## Field Details

  - ### DUMMY

    static final GTimerMonitor DUMMY
    A dummy implementation of this interface

- ## Method Details

  - ### cancel

    boolean cancel()
    Cancels the scheduled runnable associated with this GTimerMonitor if it has not already run.
    Returns:
      true if the scheduled runnable was cancelled before it had a chance to execute.

  - ### didRun

    boolean didRun()
    Return true if the scheduled runnable has completed.
    Returns:
      true if the scheduled runnable has completed.

  - ### wasCancelled

    boolean wasCancelled()
    Return true if the scheduled runnable was cancelled before it had a chance to run.
    Returns:
      true if the scheduled runnable was cancelled before it had a chance to run.