public class EncodeJournal extends LockAbstract
Modifier and Type | Field and Description |
---|---|
String |
directory |
String |
prefix |
int |
size |
String |
suffix |
binding, journal, largeMessges, paging
global
context, verbose
Constructor and Description |
---|
EncodeJournal() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ActionContext context) |
static void |
exportJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize) |
static void |
exportJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize,
PrintStream out) |
static void |
exportJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize,
String fileName) |
static void |
exportJournalFile(PrintStream out,
SequentialFileFactory fileFactory,
JournalFile file) |
void |
printUsage() |
getLockPlace, lockCLI, unlock
getBinding, getJournal, getLargeMessages, getPaging
getBrokerDTO, getConfiguration, getFileConfiguration, helpGroup, treatError
getBrokerHome, getBrokerInstance, getBrokerURIInstance, isVerbose, setHomeValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBrokerHome, getBrokerInstance, isVerbose, setHomeValues
public String directory
public String prefix
public String suffix
public int size
public Object execute(ActionContext context) throws Exception
execute
in interface Action
execute
in class LockAbstract
Exception
public static void exportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize) throws Exception
Exception
public static void exportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileName) throws Exception
Exception
public static void exportJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, PrintStream out) throws Exception
Exception
public static void exportJournalFile(PrintStream out, SequentialFileFactory fileFactory, JournalFile file) throws Exception
out
- fileFactory
- file
- Exception
public void printUsage()
Copyright © 2017 JBoss by Red Hat. All rights reserved.