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 Object
IOException
public int acquire()
public void release() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2024. All rights reserved.