public final class DescribeJournal extends Object
Meant to be used in debugging.
Modifier and Type | Class and Description |
---|---|
static class |
DescribeJournal.MessageDescribe |
static class |
DescribeJournal.ReferenceDescribe |
Constructor and Description |
---|
DescribeJournal(List<RecordInfo> records,
List<PreparedTransactionInfo> preparedTransactions) |
Modifier and Type | Method and Description |
---|---|
static void |
describeBindingsJournal(File bindingsDir) |
static void |
describeBindingsJournal(File bindingsDir,
PrintStream out,
boolean safe) |
static DescribeJournal |
describeMessagesJournal(File messagesDir) |
static DescribeJournal |
describeMessagesJournal(File messagesDir,
PrintStream out,
boolean safe) |
List<PreparedTransactionInfo> |
getPreparedTransactions() |
List<RecordInfo> |
getRecords() |
protected static PageSubscriptionCounterImpl |
lookupCounter(Map<Long,PageSubscriptionCounterImpl> counters,
long queueIDForCounter) |
static Object |
newObjectEncoding(RecordInfo info) |
static Object |
newObjectEncoding(RecordInfo info,
JournalStorageManager storageManager) |
protected static void |
printCounters(PrintStream out,
Map<Long,PageSubscriptionCounterImpl> counters) |
static DescribeJournal |
printSurvivingRecords(Journal journal,
PrintStream out,
boolean safe) |
public DescribeJournal(List<RecordInfo> records, List<PreparedTransactionInfo> preparedTransactions)
public List<RecordInfo> getRecords()
public List<PreparedTransactionInfo> getPreparedTransactions()
public static void describeBindingsJournal(File bindingsDir) throws Exception
Exception
public static void describeBindingsJournal(File bindingsDir, PrintStream out, boolean safe) throws Exception
Exception
public static DescribeJournal describeMessagesJournal(File messagesDir) throws Exception
Exception
public static DescribeJournal describeMessagesJournal(File messagesDir, PrintStream out, boolean safe) throws Exception
Exception
public static DescribeJournal printSurvivingRecords(Journal journal, PrintStream out, boolean safe) throws Exception
Exception
protected static void printCounters(PrintStream out, Map<Long,PageSubscriptionCounterImpl> counters)
protected static PageSubscriptionCounterImpl lookupCounter(Map<Long,PageSubscriptionCounterImpl> counters, long queueIDForCounter)
public static Object newObjectEncoding(RecordInfo info)
public static Object newObjectEncoding(RecordInfo info, JournalStorageManager storageManager)
Copyright © 2021 JBoss by Red Hat. All rights reserved.