Interface BvExecutor

All Superinterfaces:
Executor

@NullMarked public interface BvExecutor extends Executor
This executor targets only a single thread to ensure thread-safety for API access. The underlying executor may (or may not) immediately run scheduled Runnable's if the current thread is already correct.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from interface java.util.concurrent.Executor

    execute
  • Method Details

    • isSameThread

      @Contract(pure=true) boolean isSameThread()
      Returns:
      whether this method is called on the correct thread already.