@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, writeUnlock
checkSafeMode, decrementSafeBlockCount, incrementSafeBlockCount, isInSafeMode, isInStartupSafeMode, isPopulatingReplQueues
boolean isRunning()
void checkSuperuserPrivilege() throws AccessControlException
AccessControlException
String getBlockPoolId()
boolean isInStandbyState()
boolean isGenStampInFuture(Block block)
void adjustSafeModeBlockTotals(int deltaSafe, int deltaTotal)
void checkOperation(NameNode.OperationCategory read) throws StandbyException
StandbyException
Copyright © 2013 Apache Software Foundation. All rights reserved.