public final class FFMQServer extends Object implements FFMQServerMBean, FFMQEngineListener, Runnable
Implementation of an FFMQ Server instance.
| Constructor and Description |
|---|
FFMQServer(String engineName,
Settings settings)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
engineDeployed() |
void |
engineUndeployed() |
long |
getUptime()
Get the server uptime in milliseconds
|
String |
getVersion()
Get the server version string
|
boolean |
isInRunnableMode() |
boolean |
isRemoteAdministrationEnabled()
Test if remote admin is enabled
|
boolean |
isStarted()
Test if the server is started
|
void |
pleaseStop() |
void |
queueDeployed(LocalQueue queue) |
void |
queueUndeployed(LocalQueue queue) |
void |
run() |
boolean |
shutdown()
Ask the server to shutdown
|
boolean |
start()
Ask the server to start
|
void |
topicDeployed(LocalTopic topic) |
void |
topicUndeployed(LocalTopic topic) |
public String getVersion()
FFMQServerMBeangetVersion in interface FFMQServerMBeanpublic boolean start()
FFMQServerMBeanstart in interface FFMQServerMBeanpublic boolean shutdown()
FFMQServerMBeanshutdown in interface FFMQServerMBeanpublic boolean isStarted()
FFMQServerMBeanisStarted in interface FFMQServerMBeanpublic void engineDeployed()
engineDeployed in interface FFMQEngineListenerpublic void engineUndeployed()
engineUndeployed in interface FFMQEngineListenerpublic void queueDeployed(LocalQueue queue)
queueDeployed in interface FFMQEngineListenerpublic void queueUndeployed(LocalQueue queue)
queueUndeployed in interface FFMQEngineListenerpublic void topicDeployed(LocalTopic topic)
topicDeployed in interface FFMQEngineListenerpublic void topicUndeployed(LocalTopic topic)
topicUndeployed in interface FFMQEngineListenerpublic boolean isRemoteAdministrationEnabled()
FFMQServerMBeanisRemoteAdministrationEnabled in interface FFMQServerMBeanpublic long getUptime()
FFMQServerMBeangetUptime in interface FFMQServerMBeanpublic void pleaseStop()
public boolean isInRunnableMode()
Copyright © 2016. All rights reserved.