|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| 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 String |
TopicStartupComplete
|
| Method Summary | |
|---|---|
boolean |
debug()
|
void |
fatal(String reason)
Call to Terminate the application when a fatal error has been encountered. |
void |
fatalNoRestart(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(String threadPoolName)
Returns the named ThreadPool used by this server |
boolean |
isProduction()
|
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 String TopicStartupComplete
| Method Detail |
|---|
void fatal(String reason)
reason - Reason stringvoid fatalNoRestart(String reason)
reason - Reason stringvoid shutdown()
Parameters getParameters()
EventLoop timerEventLoop()
boolean debug()
boolean isProduction()
String nodeName()
ThreadFactory getServerThreadFactory()
ThreadPool getThreadPool(String threadPoolName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||