|
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.xpos.CheckObjectStore
public final class CheckObjectStore
Utility used to verify the integrity of the specified object store.
Normally checks store, table, mapper, keys and values file's existence, size and header fields. Includes check of free list, lookup table, key and values. Optionally, performs disk intensive check of links and displays utilization.
Constructor Summary | |
---|---|
CheckObjectStore()
|
Method Summary | |
---|---|
static boolean |
check(java.lang.String[] args)
Normally called by main() to check the specified object store. |
static boolean |
check(java.lang.String[] stores,
java.lang.String[] options)
Used to check one or more stores. |
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 CheckObjectStore()
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
store - the store's file name.
Usage: javavm stec.xpos.CheckObjectStore {options} store
javavm - the Java VM, normally java.
options - one or more of the following optional parameters.
java.lang.throwable
- if an exception or error occurs.
java.lang.Throwable
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 errors occurs.public static final boolean check(java.lang.String[] stores, java.lang.String[] options)
For each store displays the store's name and PASSED if the store was successfully checked or displays the store's name, FAILED and any stack trace if the store fails.
stores
- String array containing names of stores 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.