Class ExecutorStatus

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.async.ExecutorStatus

@BoxBIF(description="Get the status of an executor service") public class ExecutorStatus extends BIF
  • Constructor Details

    • ExecutorStatus

      public ExecutorStatus()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Get a struct map of a specific executor and its stats. If no parameters are passed, it will return a struct map of all executors and their stats.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation
      Throws:
      KeyNotFoundException - If the executor is not found.