Package com.oracle.truffle.api
Interface TruffleRuntimeAccess
public interface TruffleRuntimeAccess
A service that provides access to a
TruffleRuntime
implementation.- Since:
- 0.8 or earlier
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
Allows disambiguation if more than oneTruffleRuntime
implementation is available.Gets theTruffleRuntime
implementation available via this access object.
-
Method Details
-
getRuntime
TruffleRuntime getRuntime()Gets theTruffleRuntime
implementation available via this access object.- Since:
- 0.8 or earlier
-
getPriority
default int getPriority()Allows disambiguation if more than oneTruffleRuntime
implementation is available.- Since:
- 0.28
-