R - the type parameterpublic interface IJavetEngine<R extends V8Runtime> extends IJavetClosable
| Modifier and Type | Method and Description |
|---|---|
JavetEngineConfig |
getConfig()
Gets config.
|
V8Guard |
getGuard()
Gets guard.
|
V8Guard |
getGuard(long timeoutMillis)
Gets guard.
|
R |
getV8Runtime()
Gets V8 runtime.
|
boolean |
isActive()
Is active boolean.
|
void |
resetContext()
Reset context.
|
void |
resetIsolate()
Reset isolate.
|
void |
sendGCNotification()
Send GC notification.
|
close, isClosedJavetEngineConfig getConfig()
@CheckReturnValue V8Guard getGuard()
@CheckReturnValue V8Guard getGuard(long timeoutMillis)
timeoutMillis - the timeout millisR getV8Runtime() throws JavetException
JavetException - the javet exceptionboolean isActive()
void resetContext()
throws JavetException
JavetException - the javet exceptionvoid resetIsolate()
throws JavetException
JavetException - the javet exceptionvoid sendGCNotification()