public class ReferenceCountedFileDescriptor extends Object
If not explicitly closed, the file descriptor will be closed when this object is finalized.
| Constructor and Description |
|---|
ReferenceCountedFileDescriptor(int fd) |
protected void finalize()
throws IOException
finalize in class ObjectIOExceptionpublic int acquire()
public void release()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2025. All rights reserved.