public static interface SwitchToSlave.Monitor
SwitchToSlave| Modifier and Type | Method and Description |
|---|---|
default void |
catchupCompleted()
This db is now caught up with the master.
|
default void |
catchupStarted()
After a successful handshake with master an optimized catch-up is performed.
|
default void |
storeCopyCompleted(boolean wasSuccessful)
A full store-copy has completed.
|
default void |
storeCopyStarted()
A full store-copy is required, either if this is the first time this db starts up or if this
store has branched and needs to fetch a new copy from master.
|
default void |
switchToSlaveCompleted(boolean wasSuccessful)
Called after all slave-switching code has been executed, regardless of whether it was successful or not.
|
default void |
switchToSlaveStarted()
Called before any other slave-switching code is executed.
|
default void switchToSlaveStarted()
default void switchToSlaveCompleted(boolean wasSuccessful)
wasSuccessful - whether or not the slave switch was successful. Depending on the type of failure
other failure handling outside this class kicks in and there may be a switch retry later.default void storeCopyStarted()
default void storeCopyCompleted(boolean wasSuccessful)
wasSuccessful - whether or not this store-copy was successful.default void catchupStarted()
default void catchupCompleted()
Copyright © 2002–2019 The Neo4j Graph Database Project. All rights reserved.