|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInterface
Interface that defines basic functionalities that should be provided by the servers.
Field Summary | |
---|---|
static java.lang.String |
TopicStartupComplete
|
Method Summary | |
---|---|
boolean |
debug()
|
void |
fatal(java.lang.String reason)
Call to Terminate the application when a fatal error has been encountered. |
void |
fatalNoRestart(java.lang.String reason)
Call to Terminate the application when a fatal error has been encountered. |
Parameters |
getParameters()
Get the parameters for this server. |
ThreadFactory |
getServerThreadFactory()
Returns the main ThreadFactory used by the server |
ThreadPool |
getThreadPool(java.lang.String threadPoolName)
Returns the named ThreadPool used by this server |
boolean |
isProduction()
|
java.lang.String |
nodeName()
Name of the node |
void |
shutdown()
Terminate the application when a normal safe exit is required. |
EventLoop |
timerEventLoop()
Event loop used for timers |
Field Detail |
---|
static final java.lang.String TopicStartupComplete
Method Detail |
---|
void fatal(java.lang.String reason)
reason
- Reason stringvoid fatalNoRestart(java.lang.String reason)
reason
- Reason stringvoid shutdown()
Parameters getParameters()
EventLoop timerEventLoop()
boolean debug()
boolean isProduction()
java.lang.String nodeName()
ThreadFactory getServerThreadFactory()
ThreadPool getThreadPool(java.lang.String threadPoolName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |