@Command(name="decode",
description="Decode a journal\'s internal format into a new journal set of files")
public class DecodeJournal
extends LockAbstract
| Modifier and Type | Field and Description |
|---|---|
String |
directory |
String |
input |
String |
prefix |
int |
size |
String |
suffix |
binding, journal, largeMessges, pagingglobalcontext, 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, unlockgetBinding, getJournal, getLargeMessages, getPaginggetBrokerDTO, getConfiguration, getFileConfiguration, helpGroup, treatErrorgetBrokerHome, getBrokerInstance, isVerbose, setHomeValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrokerHome, getBrokerInstance, isVerbose, setHomeValuespublic String directory
public String prefix
public String suffix
public int size
public String input
public Object execute(ActionContext context) throws Exception
execute in interface Actionexecute in class LockAbstractExceptionpublic static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, String fileInput) throws Exception
Exceptionpublic static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, InputStream stream) throws Exception
Exceptionpublic static void importJournal(String directory, String journalPrefix, String journalSuffix, int minFiles, int fileSize, Reader reader) throws Exception
Exceptionprotected static AtomicInteger getCounter(Long txID, Map<Long,AtomicInteger> txCounters)
protected static RecordInfo parseRecord(Properties properties) throws Exception
Exceptionprotected static Properties parseLine(String[] splitLine)
public void printUsage()
Copyright © 2024 The Apache Software Foundation. All rights reserved.