java.lang.Runnable, FFMQServerMBean, FFMQEngineListenerpublic final class FFMQServer extends java.lang.Object implements FFMQServerMBean, FFMQEngineListener, java.lang.Runnable
Implementation of an FFMQ Server instance.
| Constructor | Description |
|---|---|
FFMQServer(java.lang.String engineName,
Settings settings) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
engineDeployed() |
|
void |
engineUndeployed() |
|
long |
getUptime() |
Get the server uptime in milliseconds
|
java.lang.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 FFMQServer(java.lang.String engineName,
Settings settings)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic java.lang.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 run()
run in interface java.lang.Runnablepublic void pleaseStop()
public boolean isInRunnableMode()
Copyright © 2021. All rights reserved.