java.lang.Object
com.oracle.libuv.Handle
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
AsyncHandle,CheckHandle,IdleHandle,PipeHandle,PrepareHandle,ProcessHandle,TCPHandle,TimerHandle,UDPHandle
The base class for handle.
See Base handle
-
Field Details
-
pointer
protected final long pointer -
loop
-
-
Method Details
-
ref
public void ref()Reference this handle.References are idempotent, that is, if a handle is already referenced calling this function again will have no effect.
-
unref
public void unref()Un-reference this handle.References are idempotent, that is, if a handle is not referenced calling this function again will have no effect.
-
isClosing
public boolean isClosing()Retrieves whether this handle has been closed.This function should only be used between the initialization of the handle and the arrival of the close callback.
- Returns:
falseif the handle is closing or closed,trueotherwise.
-
hashCode
public int hashCode() -
equals
-
toString
-