Package org.jruby.ext.ffi.jffi
Class Invocation
java.lang.Object
org.jruby.ext.ffi.jffi.Invocation
An invocation session.
This provides post-invoke cleanup.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvocation(ThreadContext context) Invocation(ThreadContext context, int postInvokeCount, int referenceCount) -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddPostInvoke(Runnable postInvoke) (package private) voidaddReference(Object ref) (package private) voidfinish()(package private) ThreadContext
-
Field Details
-
context
-
postInvokeCount
private final int postInvokeCount -
referenceCount
private final int referenceCount -
postInvokeList
-
references
-
-
Constructor Details
-
Invocation
-
Invocation
Invocation(ThreadContext context, int postInvokeCount, int referenceCount)
-
-
Method Details
-
finish
void finish() -
addPostInvoke
-
getThreadContext
ThreadContext getThreadContext() -
addReference
-