Class Run
-
public class Run extends LockAbstract
-
-
Field Summary
Fields Modifier and Type Field Description static ReusableLatchlatchRunning-
Fields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, paging
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description Run()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(ActionContext context)static voidsetEmbedded(boolean embedded)This will disable the System.exit at the end of the server.stop, as that means there are other things happening on the same VM.protected voidstop()voidverifyOlderLogging(File etc)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
done, unlock
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPaging
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatError
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
-
-
-
Field Detail
-
latchRunning
public static final ReusableLatch latchRunning
-
-
Method Detail
-
setEmbedded
public static void setEmbedded(boolean embedded)
This will disable the System.exit at the end of the server.stop, as that means there are other things happening on the same VM.- Parameters:
embedded-
-
execute
public Object execute(ActionContext context) throws Exception
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
stop
protected void stop()
-
verifyOlderLogging
public void verifyOlderLogging(File etc)
-
-