- <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.
- leave
Leave safe mode. Switch to manual safe mode if distributed upgrade is required.
Check for invalid, u
- 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.