Class DecodeJournal
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.DecodeJournal
-
Field Summary
FieldsModifier and TypeFieldDescriptionintFields 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 voidimportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, Reader reader) static voidimportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileInput) 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 -
input
-
-
Constructor Details
-
DecodeJournal
public DecodeJournal()
-
-
Method Details
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
importJournal
public static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileInput) throws Exception - Throws:
Exception
-
importJournal
public static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, Reader reader) throws Exception - Throws:
Exception
-