public class LoopHandle extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected CallbackHandlerFactory |
callbackHandlerFactory |
protected ContextProvider |
contextProvider |
protected CallbackExceptionHandler |
exceptionHandler |
| Constructor and Description |
|---|
LoopHandle() |
LoopHandle(CallbackExceptionHandler exceptionHandler,
CallbackHandlerFactory callbackHandler,
ContextProvider contextProvider) |
LoopHandle(LibUVConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeAll() |
void |
destroy() |
CallbackHandler |
getCallbackHandler() |
CallbackHandler |
getCallbackHandler(Object context) |
Object |
getContext() |
CallbackExceptionHandler |
getExceptionHandler() |
String[] |
list() |
long |
pointer() |
boolean |
run() |
boolean |
runNoWait() |
boolean |
runOnce() |
void |
stop() |
protected final CallbackExceptionHandler exceptionHandler
protected final CallbackHandlerFactory callbackHandlerFactory
protected final ContextProvider contextProvider
public LoopHandle(CallbackExceptionHandler exceptionHandler, CallbackHandlerFactory callbackHandler, ContextProvider contextProvider)
public LoopHandle()
public LoopHandle(LibUVConfiguration configuration)
public CallbackHandler getCallbackHandler(Object context)
public CallbackHandler getCallbackHandler()
public Object getContext()
public CallbackExceptionHandler getExceptionHandler()
public void stop()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic void destroy()
public void closeAll()
public String[] list()
public long pointer()
Copyright © 2021 WebFolder. All rights reserved.