@MXBean public interface JournalManagerMXBean
JournalManager
, including journal
file names and file positions. Of particular interest are
getCurrentAddress()
and getBaseAddress()
. The difference
between these represents the degree to which JOURNAL_COPIER has fallen behind
recent updates.Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_BLOCK_SIZE
Default size of one journal file (10E9).
|
static int |
DEFAULT_BUFFER_SIZE
Default, minimum and maximum size of journal write buffer.
|
static long |
DEFAULT_COPIER_INTERVAL_MS
Default time interval (in milliseconds) between calls to the journal
copier method.
|
static int |
DEFAULT_COPIES_PER_CYCLE
Default value for maximum pages to be copied per cycle.
|
static int |
DEFAULT_COPY_BUFFER_SIZE
Default size of journal read buffer.
|
static long |
DEFAULT_FLUSH_INTERVAL_MS
Default time interval (in milliseconds) between calls to the
FileChannel.force() method.
|
static String |
DEFAULT_JOURNAL_FILE_NAME
File name appended when journal path specifies only a directory
|
static long |
DEFAULT_LOG_REPEAT_INTERVAL_MS
Default time interval (in milliseconds) for logging repetitive I/O
exceptions on attempts to write to the journal.
|
static long |
DEFAULT_SLOW_IO_ALERT_THRESHOLD_MS
Default threshold time in milliseconds for JournalManager flush
operations.
|
static int |
DEFAULT_URGENT_FILE_COUNT_THRESHOLD
Default journal file count at which transactions are throttled to allow
copier to catch up.
|
static long |
MAXIMUM_BLOCK_SIZE
Maximum permitted journal file size.
|
static int |
MAXIMUM_BUFFER_SIZE |
static int |
MAXIMUM_CONCURRENT_TRANSACTIONS |
static long |
MAXIMUM_LOG_REPEAT_INTERVAL_MS |
static long |
MAXIMUM_SLOW_ALERT_THRESHOLD_MS |
static int |
MAXIMUM_URGENT_FILE_COUNT_THRESHOLD |
static long |
MINIMUM_BLOCK_SIZE
Minimum permitted journal file size.
|
static int |
MINIMUM_BUFFER_SIZE |
static long |
MINIMUM_LOG_REPEAT_INTERVAL_MS |
static long |
MINIMUM_SLOW_ALERT_THRESHOLD_MS |
static int |
MINIMUM_URGENT_FILE_COUNT_THRESHOLD |
static String |
MXBEAN_NAME |
static String |
PATH_FORMAT
Format expression defining the name of a journal file.
|
static long |
ROLLOVER_THRESHOLD
Size at which a completely obsolete journal file can be eliminated.
|
static int |
VERSION
Version number for the journal file format defined in this edition.
|
static final String MXBEAN_NAME
static final int VERSION
static final long DEFAULT_BLOCK_SIZE
static final long MINIMUM_BLOCK_SIZE
static final long MAXIMUM_BLOCK_SIZE
static final long ROLLOVER_THRESHOLD
static final int DEFAULT_BUFFER_SIZE
static final int MINIMUM_BUFFER_SIZE
static final int MAXIMUM_BUFFER_SIZE
static final int DEFAULT_COPY_BUFFER_SIZE
static final long DEFAULT_FLUSH_INTERVAL_MS
static final long DEFAULT_COPIER_INTERVAL_MS
static final int DEFAULT_URGENT_FILE_COUNT_THRESHOLD
static final int MINIMUM_URGENT_FILE_COUNT_THRESHOLD
static final int MAXIMUM_URGENT_FILE_COUNT_THRESHOLD
static final int DEFAULT_COPIES_PER_CYCLE
static final long DEFAULT_LOG_REPEAT_INTERVAL_MS
static final long MINIMUM_LOG_REPEAT_INTERVAL_MS
static final long MAXIMUM_LOG_REPEAT_INTERVAL_MS
static final long DEFAULT_SLOW_IO_ALERT_THRESHOLD_MS
static final long MINIMUM_SLOW_ALERT_THRESHOLD_MS
static final long MAXIMUM_SLOW_ALERT_THRESHOLD_MS
static final String DEFAULT_JOURNAL_FILE_NAME
static final String PATH_FORMAT
static final int MAXIMUM_CONCURRENT_TRANSACTIONS
int getLiveTransactionMapSize()
int getPageMapSize()
int getPageListSize()
long getBaseAddress()
long getCurrentAddress()
long getBlockSize()
boolean isAppendOnly()
boolean isIgnoreMissingVolumes()
boolean isCopyingFast()
void setAppendOnly(boolean appendOnly)
void setIgnoreMissingVolumes(boolean ignore)
void setCopyingFast(boolean fast)
long getFlushInterval()
void setFlushInterval(long flushInterval)
long getCopierInterval()
void setCopierInterval(long copierInterval)
boolean isClosed()
boolean isCopying()
String getJournalFilePath()
long getReadPageCount()
long getJournaledPageCount()
long getCopiedPageCount()
long getDroppedPageCount()
long getJournalCreatedTime()
long getLastValidCheckpointTimestamp()
long getCurrentTimestamp()
void setRollbackPruningEnabled(boolean rollbackPruning)
boolean isRollbackPruningEnabled()
void setWritePagePruningEnabled(boolean rollbackPruning)
boolean isWritePagePruningEnabled()
int urgency()
void force() throws PersistitException
PersistitException
String getLastCopierException()
String getLastFlusherException()
long getLastValidCheckpointTimeMillis()
long getTotalCompletedCommits()
long getCommitCompletionWaitTime()
long getSlowIoAlertThreshold()
void setSlowIoAlertThreshold(long slowIoAlertThreshold)
int getUrgentFileCountThreshold()
void setUrgentFileCountThreshold(int threshold)
Copyright © 2025 Open Identity Platform Community. All rights reserved.