public class FeederReplicaSyncup extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FeederReplicaSyncup.NetworkRestoreException |
| Constructor and Description |
|---|
FeederReplicaSyncup(Feeder feeder,
NamedChannel namedChannel,
Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
The feeder's side of the protocol.
|
static DatabaseId |
getDBId(RepImpl repImpl,
String dbName)
Returns db id for given database
|
static void |
setAfterSyncupEndedHook(TestHook<Feeder> hook)
For testing.
|
static void |
setAfterSyncupStartedHook(TestHook<Feeder> hook)
For testing.
|
static void |
setTestMaxInitialReplay(int val)
For testing.
|
public FeederReplicaSyncup(Feeder feeder, NamedChannel namedChannel, Protocol protocol)
public void execute()
throws DatabaseException,
IOException,
InterruptedException,
FeederReplicaSyncup.NetworkRestoreException,
ChecksumException
FeederReplicaSyncup.NetworkRestoreException - if sync up failed and network store is
requiredChecksumException - if checksum validation failedDatabaseExceptionIOExceptionInterruptedExceptionpublic static void setTestMaxInitialReplay(int val)
public static void setAfterSyncupStartedHook(TestHook<Feeder> hook)
public static void setAfterSyncupEndedHook(TestHook<Feeder> hook)
public static DatabaseId getDBId(RepImpl repImpl, String dbName) throws DatabaseNotFoundException
repImpl - replication envdbName - db nameDatabaseNotFoundException - if db id not foundCopyright © 2024. All rights reserved.