public class DecodeJournal extends LockAbstract
Modifier and Type | Field and Description |
---|---|
String |
directory |
String |
input |
String |
prefix |
int |
size |
String |
suffix |
binding, journal, largeMessges, paging
global
context, verbose
Constructor and Description |
---|
DecodeJournal() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ActionContext context) |
protected static AtomicInteger |
getCounter(Long txID,
Map<Long,AtomicInteger> txCounters) |
static void |
importJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize,
InputStream stream) |
static void |
importJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize,
Reader reader) |
static void |
importJournal(String directory,
String journalPrefix,
String journalSuffix,
int minFiles,
int fileSize,
String fileInput) |
protected static Properties |
parseLine(String[] splitLine) |
protected static RecordInfo |
parseRecord(Properties properties) |
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 String input
public Object execute(ActionContext context) throws Exception
execute
in interface Action
execute
in class LockAbstract
Exception
public static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileInput) throws Exception
Exception
public static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, InputStream stream) throws Exception
Exception
public static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, Reader reader) throws Exception
Exception
protected static AtomicInteger getCounter(Long txID, Map<Long,AtomicInteger> txCounters)
protected static RecordInfo parseRecord(Properties properties) throws Exception
Exception
protected static Properties parseLine(String[] splitLine)
public void printUsage()
Copyright © 2017 JBoss by Red Hat. All rights reserved.