Package org.apache.hadoop.hbase.wal
Class TestRaceBetweenGetWALAndGetWALs.FSWALProvider
java.lang.Object
org.apache.hadoop.hbase.wal.AbstractWALProvider
org.apache.hadoop.hbase.wal.AbstractFSWALProvider<org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>>
org.apache.hadoop.hbase.wal.TestRaceBetweenGetWALAndGetWALs.FSWALProvider
- All Implemented Interfaces:
org.apache.hadoop.hbase.replication.regionserver.PeerActionListener
,org.apache.hadoop.hbase.wal.WALProvider
- Enclosing class:
- TestRaceBetweenGetWALAndGetWALs
private static final class TestRaceBetweenGetWALAndGetWALs.FSWALProvider
extends org.apache.hadoop.hbase.wal.AbstractFSWALProvider<org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.wal.AbstractFSWALProvider
org.apache.hadoop.hbase.wal.AbstractFSWALProvider.Initializer, org.apache.hadoop.hbase.wal.AbstractFSWALProvider.WALStartTimeComparator
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.wal.WALProvider
org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter, org.apache.hadoop.hbase.wal.WALProvider.Writer, org.apache.hadoop.hbase.wal.WALProvider.WriterBase
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.wal.AbstractFSWALProvider
DEFAULT_PROVIDER_ID, DEFAULT_SEPARATE_OLDLOGDIR, META_WAL_PROVIDER_ID, SEPARATE_OLDLOGDIR, SPLITTING_EXT, TIMESTAMP_COMPARATOR, wal, WAL_FILE_NAME_DELIMITER
Fields inherited from class org.apache.hadoop.hbase.wal.AbstractWALProvider
abortable, conf, factory, initialized, listeners, logPrefix, providerId
Fields inherited from interface org.apache.hadoop.hbase.replication.regionserver.PeerActionListener
DUMMY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.wal.AbstractFSWALProvider
addWALActionsListener, close0, createRemoteWAL, doInit, extractFileNumFromWAL, findArchivedLog, getArchivedWALFiles, getCurrentFileName, getLogFileSize, getLogFileSize0, getNumLogFiles0, getNumRolledLogFiles, getServerNameFromWALDirectoryName, getServerNameFromWALDirectoryName, getTimestamp, getWAL0, getWALArchiveDirectoryName, getWALDirectoryName, getWALFiles, getWALPrefixFromWALName, getWALs0, isArchivedLogFile, isMetaFile, isMetaFile, parseServerNameFromWALName, recoverLease, requestLogRoll, shutdown0, validateWALFilename
Methods inherited from class org.apache.hadoop.hbase.wal.AbstractWALProvider
close, getLogFileSize, getNumLogFiles, getPeerActionListener, getSyncReplicationPeerIdFromWALName, getWAL, getWALs, init, initWAL, peerSyncReplicationStateChange, setSyncReplicationPeerInfoProvider, shutdown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider
getWALFileLengthProvider
-
Constructor Details
-
FSWALProvider
private FSWALProvider()
-
-
Method Details
-
createWAL
- Specified by:
createWAL
in classorg.apache.hadoop.hbase.wal.AbstractFSWALProvider<org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>>
- Throws:
IOException
-
doInit
- Specified by:
doInit
in classorg.apache.hadoop.hbase.wal.AbstractFSWALProvider<org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL<?>>
- Throws:
IOException
-