public interface CommitLogMBean
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getActiveSegmentNames() |
java.lang.String |
getArchiveCommand()
Command to execute to archive a commitlog segment.
|
java.util.List<java.lang.String> |
getArchivingSegmentNames() |
long |
getCompletedTasks()
Deprecated.
|
long |
getPendingTasks()
Deprecated.
|
java.lang.String |
getRestoreCommand()
Command to execute to make an archived commitlog live again
|
java.lang.String |
getRestoreDirectories()
Directory to scan the recovery files in
|
long |
getRestorePointInTime()
Restore mutations created up to and including this timestamp in GMT
Format: yyyy:MM:dd HH:mm:ss (2012:04:31 20:43:12)
Recovery will continue through the segment when the first client-supplied
timestamp greater than this time is encountered, but only mutations less than
or equal to this timestamp will be applied.
|
java.lang.String |
getRestorePrecision()
get precision of the timestamp used in the restore (MILLISECONDS, MICROSECONDS, ...)
to determine if passed the restore point in time.
|
long |
getTotalCommitlogSize()
Deprecated.
|
void |
recover(java.lang.String path)
Recover a single file.
|
@Deprecated long getCompletedTasks()
CommitLogMetrics.completedTasks
@Deprecated long getPendingTasks()
CommitLogMetrics.pendingTasks
@Deprecated long getTotalCommitlogSize()
CommitLogMetrics.totalCommitLogSize
java.lang.String getArchiveCommand()
java.lang.String getRestoreCommand()
java.lang.String getRestoreDirectories()
long getRestorePointInTime()
java.lang.String getRestorePrecision()
void recover(java.lang.String path) throws java.io.IOException
java.io.IOException
java.util.List<java.lang.String> getActiveSegmentNames()
java.util.List<java.lang.String> getArchivingSegmentNames()
Copyright © 2016 The Apache Software Foundation