- <init>
- checkMode
Check and trigger safe mode if needed.
- enter
Enter safe mode.
- getTurnOffTip
A tip on how safe mode is to be turned off: manually or automatically.
- isManual
Check if safe mode was entered manually or at startup.
- isOn
Check if safe mode is on.
- needEnter
There is no need to enter safe mode if DFS is empty or #threshold == 0
- reportStatus
Print status every 20 seconds.
- setBlockTotal
Set total number of blocks.
- areResourcesLow
Check if safe mode was entered due to resources being low.
- canInitializeReplQueues
Check whether we have reached the threshold for initializing replication queues.
- doConsistencyCheck
Checks consistency of the class state. This is costly so only runs if asserts
are enabled.