public class StartupTracker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StartupTracker.Counter
Record number of log entries processed during a given recovery phase.
|
static class |
StartupTracker.Phase |
Constructor and Description |
---|
StartupTracker(EnvironmentImpl envImpl) |
Modifier and Type | Method and Description |
---|---|
void |
displayStats(java.io.PrintStream stream,
StartupTracker.Phase root)
Display all information that has been tracked for this family of
phases.
|
StartupTracker.Counter |
getCounter(StartupTracker.Phase phase)
Return the counter for this phase so we can update one of the detail
values stored there.
|
void |
setProgress(RecoveryProgress progress)
Record new progress states for any registered environment progress
listener.
|
void |
setRecoveryInfo(RecoveryInfo rInfo) |
void |
setStats(StartupTracker.Phase phase,
StatGroup sg)
Save stats for a given phase.
|
void |
start(StartupTracker.Phase phase)
Note that a particular phase is starting.
|
void |
stop(StartupTracker.Phase phase)
Note that a particular phase is ending.
|
public StartupTracker(EnvironmentImpl envImpl)
public void setRecoveryInfo(RecoveryInfo rInfo)
public void start(StartupTracker.Phase phase)
public void stop(StartupTracker.Phase phase)
public void setProgress(RecoveryProgress progress)
public StartupTracker.Counter getCounter(StartupTracker.Phase phase)
public void setStats(StartupTracker.Phase phase, StatGroup sg)
public void displayStats(java.io.PrintStream stream, StartupTracker.Phase root)
Copyright (c) 2004-2012 Oracle. All rights reserved.