Class ResourceLimitEvent

java.lang.Object
org.graalvm.polyglot.ResourceLimitEvent

public final class ResourceLimitEvent extends Object
Event triggered by a resource limit for a context. Event objects are short-lived and should not be stored. Their use should be limited to the duration of the event.
Since:
19.3
See Also:
  • Method Details

    • getContext

      public Context getContext()
      The context for which the limit was exceeded. Never null.
      Since:
      19.3
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Since:
      19.3