static final class ClosurePool.Proxy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) CallContext |
callContext
Keep references to the return and parameter types so they do not get
garbage collected until the closure does.
|
(package private) Closure |
closure |
(package private) static java.lang.reflect.Method |
METHOD |
| Constructor and Description |
|---|
Proxy(CallContext callContext) |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.reflect.Method |
getMethod()
Gets the Method to be invoked by native code
|
void |
invoke(long retvalAddress,
long paramAddress)
Invoked by the native closure trampoline to execute the java side of
the closure.
|
static final java.lang.reflect.Method METHOD
final CallContext callContext
volatile Closure closure
Proxy(CallContext callContext)
private static java.lang.reflect.Method getMethod()
public void invoke(long retvalAddress,
long paramAddress)
retvalAddress - The address of the native return value bufferparamAddress - The address of the native parameter buffer.