Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eclipsesource/J2V8
/ functions
Functions
2,731 in github.com/eclipsesource/J2V8
⨍
Functions
2,731
◇
Types & classes
158
↳
Endpoints
12
↓ 13 callers
Method
executeDoubleFunction
(final long v8RuntimePtr, final long objectHandle, final String name, final long parametersHandle)
src/main/java/com/eclipsesource/v8/V8.java:1198
↓ 13 callers
Method
getBoolean
(final long v8RuntimePtr, final long objectHandle, final String key)
src/main/java/com/eclipsesource/v8/V8.java:1178
↓ 13 callers
Method
getBooleans
Returns the booleans contained in a subset of a V8Array. If the subset contains elements other than booleans, then a V8ResultUndefined exception is th
src/main/java/com/eclipsesource/v8/V8Array.java:298
↓ 13 callers
Method
getInt
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:344
↓ 13 callers
Method
getKeys
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1170
↓ 13 callers
Method
getObjectReferenceCount
Returns the number of handles currently being tracked by this memory manager. Throws an IllegalStateException if the memory manager is used after it'
src/main/java/com/eclipsesource/v8/utils/MemoryManager.java:58
↓ 13 callers
Method
invoke
Called when a JS Function invokes a the registered Java method. @param receiver The V8Object that the function was called on. @param parameters The p
src/main/java/com/eclipsesource/v8/JavaCallback.java:35
↓ 13 callers
Method
put
(final byte b)
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:193
↓ 13 callers
Method
run
Execute the code on the provided runtime. @param runtime The V8 runtime assigned to this runnable.
src/main/java/com/eclipsesource/v8/utils/V8Runnable.java:27
↓ 13 callers
Method
setupWindowAlias
Global Object Prototype Manipulation
src/test/java/com/eclipsesource/v8/V8Test.java:1210
↓ 13 callers
Method
voidMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:67
↓ 12 callers
Method
getBytes
Returns the bytes contained in a subset of a V8Array. If the subset contains elements that cannot be cast to bytes, then a V8ResultUndefined exception
src/main/java/com/eclipsesource/v8/V8Array.java:316
↓ 12 callers
Method
getScope
Returns the scope at a given index. @param index The index @return The scope
src/main/java/com/eclipsesource/v8/debug/mirror/Frame.java:188
↓ 12 callers
Method
getStructureSize
Computes the size of the structures required for each TypedArray variation. @param type The type of the TypeArray @return The size of the structures
src/main/java/com/eclipsesource/v8/V8TypedArray.java:128
↓ 12 callers
Method
getV8Result
Returns an object usable with a V8 Runtime which represents the parameter 'value'. If 'value' is an Integer, Boolean, Double or String, then 'value' i
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:288
↓ 12 callers
Method
size
()
src/main/java/com/eclipsesource/v8/utils/V8PropertyMap.java:37
↓ 12 callers
Method
toV8Array
Creates a V8Array from a java.util.List. This is a deep copy, so if the list contains other lists (or maps) they will also be converted. @param v8 Th
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:263
↓ 12 callers
Method
toV8Object
Creates a V8Object from a java.util.Map. This is a deep copy, so if the map contains other maps (or lists) they will also be converted. @param v8 The
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:243
↓ 11 callers
Method
contains
Determine if a key/value pair with this key exists in the Object. @param key The key to check @return True if the key exists, false otherwise.
src/main/java/com/eclipsesource/v8/V8Object.java:73
↓ 11 callers
Method
getDoubles
Returns the doubles contained in a subset of a V8Array. If the subset contains elements other than doubles, then a V8ResultUndefined exception is thro
src/main/java/com/eclipsesource/v8/V8Array.java:258
↓ 11 callers
Method
getKeys
Returns all the keys associated with this JavaScript Object. Keys associated with the objects prototype are not returned. @return The keys associated
src/main/java/com/eclipsesource/v8/V8Object.java:86
↓ 11 callers
Method
limit
Returns the buffers limit @return the buffers limit
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:93
↓ 11 callers
Method
registerJavaMethod
Register a Java method as a JavaScript function. When the JS Function is invoked the Java method will be called. @param callback The JavaCallback to
src/main/java/com/eclipsesource/v8/V8Object.java:577
↓ 11 callers
Method
setWeak
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1150
↓ 11 callers
Method
skipTest
()
src/test/java/com/eclipsesource/v8/NodeJSTest.java:50
↓ 11 callers
Method
twin
()
src/main/java/com/eclipsesource/v8/V8Object.java:61
↓ 11 callers
Method
v8ObjectMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:105
↓ 10 callers
Function
__add_platform_deps
(platform, include, vendor = None)
nodejs.py:130
↓ 10 callers
Method
acquire
Acquire the lock if it's currently not acquired by another thread. If it's currently held by another thread, an Error will be thrown.
src/main/java/com/eclipsesource/v8/V8Locker.java:44
↓ 10 callers
Method
dispatchProtocolMessage
(final long V8InspectorPtr, final String protocolMessage)
src/main/java/com/eclipsesource/v8/V8.java:289
↓ 10 callers
Method
exec_host_cmd
Execute a shell-command on the host system (injects $CWD as the location of the J2V8 source directory
build_system/build_structures.py:102
↓ 10 callers
Method
getBoolean
Returns the boolean value associated with this key. If the value associated with this key does not exist, or if it's not a boolean, then V8ResultUndef
src/main/java/com/eclipsesource/v8/V8Object.java:151
↓ 10 callers
Method
getBuffer
Provide access to the underlying ByteBuffer used for this TypedArray. The V8ArrayBuffer must be released. @return The V8ArrayBuffer used to back this
src/main/java/com/eclipsesource/v8/V8TypedArray.java:79
↓ 10 callers
Method
handleBreak
(final BreakHandler handler)
src/test/java/com/eclipsesource/v8/debug/ScopeTest.java:278
↓ 10 callers
Method
handleBreak
(final BreakHandler handler)
src/test/java/com/eclipsesource/v8/debug/FrameTest.java:287
↓ 10 callers
Method
pushValue
Pushes a Java Object to a V8Array by first converting it to a V8Value if needed. If the value is a boxed primitive, then the primitive will be pushed.
src/main/java/com/eclipsesource/v8/utils/V8ObjectUtils.java:316
↓ 10 callers
Method
putInt
(final int value)
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:350
↓ 10 callers
Method
read
(self, size)
nodejs.py:29
↓ 10 callers
Method
toString
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1226
↓ 10 callers
Method
v8ArrayMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:109
↓ 9 callers
Method
booleanMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:97
↓ 9 callers
Method
checkKey
(final String key)
src/main/java/com/eclipsesource/v8/V8Object.java:657
↓ 9 callers
Method
containsKey
(final Object key)
src/main/java/com/eclipsesource/v8/utils/V8Map.java:85
↓ 9 callers
Function
getHandle
jni/com_eclipsesource_v8_V8Impl.cpp:315
↓ 9 callers
Method
getJSMessage
Get the message set by the JavaScript exception. @return The message set by the JavaScript exception.
src/main/java/com/eclipsesource/v8/V8ScriptException.java:128
↓ 9 callers
Method
getScriptBreakPoint
Get the BreakPoint as referenced by the given ID. @param breakPointID The BreakPoint ID. @return The BreakPoint as referenced by the given ID.
src/main/java/com/eclipsesource/v8/debug/DebugHandler.java:226
↓ 9 callers
Method
getType
Returns the type of this scope. @return The type of scope.
src/main/java/com/eclipsesource/v8/debug/mirror/Scope.java:49
↓ 9 callers
Method
getV8ArrayBuffer
Returns the underlying V8ArrayBuffer. @return the underlying V8ArrayBuffer.
src/main/java/com/eclipsesource/v8/utils/ArrayBuffer.java:65
↓ 9 callers
Method
getValue
Returns the Object that this mirror represents. @return The object that this mirror represents.
src/main/java/com/eclipsesource/v8/debug/mirror/ValueMirror.java:31
↓ 9 callers
Method
hasLock
Check if the current thread holds this lock. @return Returns true if the current thread holds the lock, false otherwise.
src/main/java/com/eclipsesource/v8/V8Locker.java:109
↓ 9 callers
Method
release
Release the lock if it's currently held by the calling thread. If the current thread does not hold the lock, and error will be thrown. If no thread ho
src/main/java/com/eclipsesource/v8/V8Locker.java:79
↓ 9 callers
Method
release
()
src/main/java/com/eclipsesource/v8/debug/ScriptBreakPoint.java:90
↓ 9 callers
Method
skipTest
()
src/test/java/com/eclipsesource/v8/PlatformDetectorTest.java:45
↓ 9 callers
Function
throwV8RuntimeException
jni/com_eclipsesource_v8_V8Impl.cpp:2089
↓ 9 callers
Method
values
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:171
↓ 8 callers
Method
checkScript
(final String script)
src/main/java/com/eclipsesource/v8/V8.java:855
↓ 8 callers
Method
flush
(self)
build_system/tests/runner/output_redirector.py:15
↓ 8 callers
Method
getDouble
Returns the double value associated with this key. If the value associated with this key does not exist, or if it's not a double, then V8ResultUndefin
src/main/java/com/eclipsesource/v8/V8Object.java:168
↓ 8 callers
Method
isEmpty
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:76
↓ 8 callers
Method
isValue
()
src/main/java/com/eclipsesource/v8/debug/mirror/ValueMirror.java:35
↓ 8 callers
Method
setFlags
Sets the V8 flags on the platform. All runtimes will be created with the same flags. Flags must be set before the runtime is created. @param flags Th
src/main/java/com/eclipsesource/v8/V8.java:103
↓ 8 callers
Method
stringMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:101
↓ 8 callers
Method
terminateExecution
Terminates any JavaScript executing on this runtime. Once the runtime is released, any executors that were spawned will also be force terminated.
src/main/java/com/eclipsesource/v8/V8.java:383
↓ 7 callers
Function
addValueWithKey
jni/com_eclipsesource_v8_V8Impl.cpp:361
↓ 7 callers
Method
clear
()
src/main/java/com/eclipsesource/v8/utils/V8Map.java:149
↓ 7 callers
Method
doubleMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:91
↓ 7 callers
Method
executeStringFunction
Invoke a JavaScript function and return the result as a String. If the result is not a String, or does not exist, then V8ResultUndefined is thrown. @
src/main/java/com/eclipsesource/v8/V8Object.java:283
↓ 7 callers
Method
getConstructorName
(final long v8RuntimePtr, final long objectHandle)
src/main/java/com/eclipsesource/v8/V8.java:1388
↓ 7 callers
Function
getResult
jni/com_eclipsesource_v8_V8Impl.cpp:2123
↓ 7 callers
Method
getResult
Gets the result of the JavaScript that was executed on this executor. @return The result of the JS Script that was executed on this executor.
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:91
↓ 7 callers
Method
intMethodNoParameters
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:83
↓ 7 callers
Function
invokeFunction
jni/com_eclipsesource_v8_V8Impl.cpp:974
↓ 7 callers
Method
length
Returns the length of the array pointed to by this Array Mirror @return The length of the array.
src/main/java/com/eclipsesource/v8/debug/mirror/ArrayMirror.java:36
↓ 7 callers
Method
objectMethodNoParameter
()
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:113
↓ 7 callers
Method
registerV8Executor
Registers an executor with this runtime. An executor is another runtime with its own thread. By registering an executor, it can be terminated when thi
src/main/java/com/eclipsesource/v8/V8.java:447
↓ 7 callers
Method
release
Releases the underlying {@link V8} instance. This method should be invoked once you're done using this object, otherwise a large amount of garbage co
src/main/java/com/eclipsesource/v8/utils/ConcurrentV8.java:81
↓ 7 callers
Method
run
Runs an {@link V8Runnable} on the V8 thread. <b>Note: </b> This method executes synchronously, not asynchronously; it will not return until the passe
src/main/java/com/eclipsesource/v8/utils/ConcurrentV8.java:60
↓ 7 callers
Method
toString
()
src/main/java/com/eclipsesource/v8/V8Object.java:648
↓ 7 callers
Method
voidMethodWithObjectParameter
(final V8Object object)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:75
↓ 6 callers
Method
close
()
src/main/java/com/eclipsesource/v8/debug/mirror/PropertiesArray.java:47
↓ 6 callers
Function
compileScript
jni/com_eclipsesource_v8_V8Impl.cpp:853
↓ 6 callers
Method
computeLibraryShortName
Returns the base-name for the native J2V8 library file. @param withLinuxVendor include/exclude the {vendor} part from the returned filename <p>NOTE: V
src/main/java/com/eclipsesource/v8/LibraryLoader.java:38
↓ 6 callers
Method
executeFunction
Invoke a JavaScript function and return the result as a Java Object. @param name The name of the JS Function to call. @param parameters The paramete
src/main/java/com/eclipsesource/v8/V8Object.java:365
↓ 6 callers
Method
getDouble
(final long v8RuntimePtr, final long objectHandle, final String key)
src/main/java/com/eclipsesource/v8/V8.java:1182
↓ 6 callers
Function
getIsolate
jni/com_eclipsesource_v8_V8Impl.cpp:1991
↓ 6 callers
Method
getShort
()
src/main/java/com/eclipsesource/v8/V8ArrayBuffer.java:318
↓ 6 callers
Method
getV8Type
Returns the 'type' of this V8Value. The available types are defined as constants in {@link V8Value}. Only types that inherit from {@link V8Value} can
src/main/java/com/eclipsesource/v8/V8Value.java:182
↓ 6 callers
Function
getValueWithKey
jni/com_eclipsesource_v8_V8Impl.cpp:355
↓ 6 callers
Method
postMessage
Posts a message to the receiver to be processed by the executor and sent to the V8 runtime via the messageHandler. @param message The message to send
src/main/java/com/eclipsesource/v8/utils/V8Executor.java:101
↓ 6 callers
Method
pushUndefined
Pushes undefined to the next available spot in the Array. In particular, this[length] = undefined; @return The receiver.
src/main/java/com/eclipsesource/v8/V8Array.java:606
↓ 6 callers
Function
runScript
jni/com_eclipsesource_v8_V8Impl.cpp:873
↓ 6 callers
Method
setData
Associates an arbitrary object with this runtime. @param key The key used to reference this object @param value The object to associate with this run
src/main/java/com/eclipsesource/v8/V8.java:216
↓ 6 callers
Function
setVar
(var, value, type = "STRING")
build_system/cmake_utils.py:4
↓ 6 callers
Function
throwResultUndefinedException
jni/com_eclipsesource_v8_V8Impl.cpp:2000
↓ 5 callers
Method
addObjectReference
(final long objectHandle)
src/main/java/com/eclipsesource/v8/V8Value.java:73
↓ 5 callers
Method
addReleaseHandler
Adds a handler that will be called when the runtime is being released. The runtime will still be available when the handler is executed. @param handl
src/main/java/com/eclipsesource/v8/V8.java:186
↓ 5 callers
Method
build
(self, config)
build_system/build_structures.py:80
↓ 5 callers
Method
complete_test_case
Disconnect output redirection and return buffer. Safe to call multiple times.
build_system/tests/runner/test_result.py:143
↓ 5 callers
Method
constructAnswer
(final V8Object receiver, final V8Array parameters, final Object result)
src/test/java/com/eclipsesource/v8/V8CallbackTest.java:1931
↓ 5 callers
Method
createNodeJS
Creates a NodeJS Runtime @return The NodeJS runtime. May throw an UnsupportedOperationException if node.js integration has not been compiled for you
src/main/java/com/eclipsesource/v8/NodeJS.java:47
← previous
next →
101–200 of 2,731, ranked by callers