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 intdisposedprivate ForeignforeignA handle to the foreign interface to keep it alive as long as this object is aliveprivate longhandleprivate Type.TypeInfotypeInfoprivate static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<Aggregate>UPDATER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()protected voidfinalize()(package private) Type.TypeInfogetTypeInfo()-
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:
getTypeInfoin classType
-
dispose
public final void dispose()
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-