public class VerifyUtils
extends java.lang.Object
Constructor and Description |
---|
VerifyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLsns(Database db)
Compare the LSNs referenced by a given Database to the lsns held
in the utilization profile.
|
static void |
checkLsns(DatabaseImpl dbImpl,
java.io.PrintStream out)
Compare the lsns referenced by a given Database to the lsns held
in the utilization profile.
|
static void |
verifyUtilization(EnvironmentImpl envImpl,
boolean expectAccurateObsoleteLNCount,
boolean expectAccurateObsoleteLNSize,
boolean expectAccurateDbUtilization)
Compare utilization as calculated by UtilizationProfile to utilization
as calculated by UtilizationFileReader.
|
public static void checkLsns(Database db) throws DatabaseException
DatabaseException
public static void checkLsns(DatabaseImpl dbImpl, java.io.PrintStream out) throws DatabaseException
DatabaseException
public static void verifyUtilization(EnvironmentImpl envImpl, boolean expectAccurateObsoleteLNCount, boolean expectAccurateObsoleteLNSize, boolean expectAccurateDbUtilization) throws DatabaseException
java.lang.IllegalStateException
- if there are mismatchesDatabaseException