@InterfaceAudience.Private public interface Namesystem extends RwLock, SafeMode
| Modifier and Type | Method and Description |
|---|---|
void |
adjustSafeModeBlockTotals(int deltaSafe,
int deltaTotal) |
void |
checkOperation(NameNode.OperationCategory read) |
void |
checkSuperuserPrivilege()
Check if the user has superuser privilege.
|
String |
getBlockPoolId() |
boolean |
isGenStampInFuture(Block block) |
boolean |
isInStandbyState() |
boolean |
isRunning()
Is this name system running?
|
hasReadLock, hasReadOrWriteLock, hasWriteLock, readLock, readUnlock, writeLock, writeLockInterruptibly, writeUnlockcheckSafeMode, decrementSafeBlockCount, incrementSafeBlockCount, isInSafeMode, isInStartupSafeMode, isPopulatingReplQueuesboolean isRunning()
void checkSuperuserPrivilege()
throws AccessControlException
AccessControlExceptionString getBlockPoolId()
boolean isInStandbyState()
boolean isGenStampInFuture(Block block)
void adjustSafeModeBlockTotals(int deltaSafe,
int deltaTotal)
void checkOperation(NameNode.OperationCategory read) throws StandbyException
StandbyExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.