Servertec
Persistent Object Store
1.4.1 09/04/2005

stec.pos
Class CheckIndexedObjectStore

java.lang.Object
  extended by stec.pos.CheckIndexedObjectStore

public final class CheckIndexedObjectStore
extends java.lang.Object

Utility used to verify the integrity of the specified indexed object store.

Normally checks the object store and associated indexes. Optionally, performs disk intensive check of links and displays utilization.

Since:
1.1.0 09/01/2002

Constructor Summary
CheckIndexedObjectStore()
           
 
Method Summary
static boolean check(java.lang.String[] args)
          Normally called by main() to check the specified indexed 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

CheckIndexedObjectStore

public CheckIndexedObjectStore()
Method Detail

main

public static final void main(java.lang.String[] args)
                       throws java.lang.Throwable
Main entry point.

Parameters:
args - String array containing parameters to use.

Parameters::

-d - do not display progress
-l - check links
-u - display utilization
-v - verbose mode
store - the indexed object store's base file name.

Usage: javavm stec.pos.CheckIndexedObjectStore {options} store

javavm - the Java VM, normally java.
options - one or more of the following optional parameters.

    -d - do not display progress
    -l - check links
    -u - display utilization
    -v - verbose mode
store - the indexed object store's base file name.
Throws:
java.lang.Throwable - if an exception or error occurs.

check

public static final boolean check(java.lang.String[] args)
                           throws java.lang.Throwable
Normally called by main() to check the specified indexed object store.

Parameters:
args - String array containing parameters to use. See main().
Returns:
whether check failed or succeeded.
Throws:
java.lang.Throwable - if an exception or error occurs.
Since:
1.2.1 12/22/2002

check

public static final boolean check(java.lang.String[] stores,
                                  java.lang.String[] options)
Used to check one or more stores.

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.

Parameters:
stores - String array containing names of stores to check.
options - String array containing options to use. See main().
Returns:
whether check failed or succeeded.
Since:
1.3.1 11/26/2003

Servertec
Persistent Object Store
1.4.1 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.