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 DescribeJournal |
describeMessagesJournal(File messagesDir) |
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) |
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 DescribeJournal describeMessagesJournal(File messagesDir) 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 © 2017 JBoss by Red Hat. All rights reserved.