Package com.kenai.jffi
Class Aggregate
- java.lang.Object
-
- com.kenai.jffi.Type
-
- com.kenai.jffi.Aggregate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.kenai.jffi.Type
Type.Builtin, Type.TypeInfo
-
-
Field Summary
Fields Modifier and Type Field Description private int
disposed
private Foreign
foreign
A handle to the foreign interface to keep it alive as long as this object is aliveprivate long
handle
private Type.TypeInfo
typeInfo
private static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<Aggregate>
UPDATER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
protected void
finalize()
(package private) Type.TypeInfo
getTypeInfo()
-
Methods inherited from class com.kenai.jffi.Type
alignment, equals, handle, hashCode, nativeHandles, nativeHandles, size, type
-
-
-
-
Field Detail
-
typeInfo
private final Type.TypeInfo typeInfo
-
handle
private final long handle
-
disposed
private volatile int disposed
-
UPDATER
private static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<Aggregate> UPDATER
-
foreign
private final Foreign foreign
A handle to the foreign interface to keep it alive as long as this object is alive
-
-
Constructor Detail
-
Aggregate
Aggregate(Foreign foreign, long handle)
-
-
Method Detail
-
getTypeInfo
final Type.TypeInfo getTypeInfo()
- Specified by:
getTypeInfo
in classType
-
dispose
public final void dispose()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
-