Top Description Fields Constructors Methods
org.graalvm.polyglot

public final Class ResourceLimitEvent

extends Object
Class Inheritance

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
ResourceLimits

Field Summary

Modifier and TypeField and Description
private final Context

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Context
getContext()

The context for which the limit was exceeded.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

contextback to summary
private final Context context

Constructor Detail

ResourceLimitEventback to summary
pack-priv ResourceLimitEvent(Context context)

Method Detail

getContextback to summary
public Context getContext()

The context for which the limit was exceeded. Never null.

Since
19.3
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
Since
19.3