|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstec.pos.CheckIndex
public final class CheckIndex
Utility used to verify the integrity of the specified index.
Normally checks index and keys/values store file's existence, size and header fields. Includes check of free list, key and values. Optionally, performs disk intensive check of links and displays utilization.
| Constructor Summary | |
|---|---|
CheckIndex()
|
|
| Method Summary | |
|---|---|
static boolean |
check(java.lang.String[] args)
Normally called by main() to check the specified index. |
static boolean |
check(java.lang.String[] indexes,
java.lang.String[] options)
Used to check one or more indexes. |
static void |
main(java.lang.String[] args)
Main entry point. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckIndex()
| Method Detail |
|---|
public static final void main(java.lang.String[] args)
throws java.lang.Throwable
args - String array containing parameters to use.
Parameters::
-d - do not display progress
-l - check links
-u - display utilization
-v - verbose mode
index - the index's base file name.
Usage: javavm stec.pos.CheckIndex {options} index
javavm - the Java VM, normally java.
options - one or more of the following optional parameters.
java.lang.Throwable - if an exception or error occurs.
public static final boolean check(java.lang.String[] args)
throws java.lang.Throwable
args - String array containing parameters to use. See main().
java.lang.Throwable - if an exception or error occurs.
public static final boolean check(java.lang.String[] indexes,
java.lang.String[] options)
For each index displays the index's name and PASSED if the index was successfully checked or displays the index's name, FAILED and any stack trace if the index fails.
indexes - String array containing names of indexes to check.options - String array containing options to use. See main().
|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2001-2005 Servertec. All rights reserved.