Class EncodeJournal
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.Configurable
org.apache.activemq.artemis.cli.commands.tools.DataAbstract
org.apache.activemq.artemis.cli.commands.tools.LockAbstract
org.apache.activemq.artemis.cli.commands.tools.journal.EncodeJournal
-
Field Summary
FieldsFields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, pagingFields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ActionContext context) static voidexportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, PrintStream out) static voidexportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileName) Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
done, unlockMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPagingMethods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatErrorMethods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
directory
-
prefix
-
suffix
-
size
public int size
-
-
Constructor Details
-
EncodeJournal
public EncodeJournal()
-
-
Method Details
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
exportJournal
public static void exportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileName) throws Exception - Throws:
Exception
-
exportJournal
public static void exportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, PrintStream out) throws Exception - Throws:
Exception
-