static class FSyncManager.FSyncGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
DO_LEADER_FSYNC |
(package private) static int |
DO_TIMEOUT_FSYNC |
(package private) static int |
NO_FSYNC_NEEDED |
Constructor and Description |
---|
FSyncManager.FSyncGroup(long fsyncTimeout,
EnvironmentImpl envImpl) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
getLeader() |
(package private) int |
waitForFsync()
Wait for either a turn to execute a fsync, or to find out that a
fsync was done on your behalf.
|
(package private) void |
wakeupAll() |
(package private) void |
wakeupOne() |
static int DO_TIMEOUT_FSYNC
static int DO_LEADER_FSYNC
static int NO_FSYNC_NEEDED
FSyncManager.FSyncGroup(long fsyncTimeout, EnvironmentImpl envImpl)
boolean getLeader()
int waitForFsync() throws ThreadInterruptedException
ThreadInterruptedException
void wakeupAll()
void wakeupOne()
Copyright (c) 2004-2012 Oracle. All rights reserved.