net.sf.farrago.fennel
Class FennelJavaHandle
java.lang.Object
net.sf.farrago.fennel.FennelJavaHandle
- All Implemented Interfaces:
- FarragoAllocation, ClosableAllocation
public class FennelJavaHandle
- extends Object
- implements FarragoAllocation
FennelJavaHandles are FarragoAllocations which ensure that handles returned
by FennelStorage.newObjectHandle get closed under all circumstances.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/fennel/FennelJavaHandle.java#13 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
private static final Logger tracer
objectHandle
private long objectHandle
FennelJavaHandle
FennelJavaHandle(long objectHandle)
closeAllocation
public void closeAllocation()
- Description copied from interface:
ClosableAllocation
- Closes this object.
- Specified by:
closeAllocation
in interface ClosableAllocation
getLongHandle
public long getLongHandle()
- Returns:
- the native handle as a long