Database.State
Modifier and Type | Field and Description |
---|---|
protected DBAccessLock |
accessLock |
Constructor and Description |
---|
AbstractDatabase() |
Modifier and Type | Method and Description |
---|---|
void |
assumeNoMoreHeavyLoad() |
int |
getHeavyLoadDelayMs() |
Database.State |
getState() |
void |
increaseHeavyLoadDelay() |
boolean |
isUnderHeavyLoad() |
void |
setState(Database.State state) |
protected final DBAccessLock accessLock
public Database.State getState()
public void setState(Database.State state)
public boolean isUnderHeavyLoad()
public void increaseHeavyLoadDelay()
public void assumeNoMoreHeavyLoad()
public int getHeavyLoadDelayMs()