@InterfaceAudience.Private public interface SafeMode
Modifier and Type | Method and Description |
---|---|
void |
checkSafeMode()
Check safe mode conditions.
|
void |
decrementSafeBlockCount(Block b)
Decrement number of blocks that reached minimal replication.
|
void |
incrementSafeBlockCount(int replication)
Increment number of blocks that reached minimal replication.
|
boolean |
isInSafeMode()
Is the system in safe mode?
|
boolean |
isInStartupSafeMode()
Is the system in startup safe mode, i.e.
|
boolean |
isPopulatingReplQueues()
Check whether replication queues are being populated.
|
void checkSafeMode()
boolean isInSafeMode()
boolean isInStartupSafeMode()
boolean isPopulatingReplQueues()
void incrementSafeBlockCount(int replication)
replication
- current replicationvoid decrementSafeBlockCount(Block b)
Copyright © 2013 Apache Software Foundation. All rights reserved.