public interface Daemon
extends java.io.Closeable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Daemon.State |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
boolean |
await(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
Daemon.State |
getState() |
void |
interrupt() |
boolean |
isClosed() |
boolean |
isInterrupted() |
boolean |
isShutdown() |
boolean |
isStarted() |
void |
shutdown() |
void |
start() |
Daemon.State getState() throws java.rmi.RemoteException
java.rmi.RemoteExceptionvoid start()
throws java.lang.IllegalStateException,
java.rmi.RemoteException
java.lang.IllegalStateExceptionjava.rmi.RemoteExceptionboolean isStarted()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionvoid shutdown()
throws java.lang.IllegalStateException,
java.rmi.RemoteException
java.lang.IllegalStateExceptionjava.rmi.RemoteExceptionboolean isShutdown()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionvoid await()
throws java.lang.InterruptedException,
java.rmi.RemoteException
java.lang.InterruptedExceptionjava.rmi.RemoteExceptionboolean await(long timeout,
java.util.concurrent.TimeUnit timeUnit)
throws java.lang.InterruptedException,
java.rmi.RemoteException
java.lang.InterruptedExceptionjava.rmi.RemoteExceptionvoid interrupt()
throws java.lang.IllegalStateException,
java.rmi.RemoteException
java.lang.IllegalStateExceptionjava.rmi.RemoteExceptionboolean isInterrupted()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionboolean isClosed()
throws java.rmi.RemoteException
java.rmi.RemoteException