Servertec
Persistent Object Store
1.4.1 09/04/2005

stec.pos
Class CheckObjectStore

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

public final class CheckObjectStore
extends java.lang.Object

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

Normally checks store and mapper 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.

Since:
1.0.0 08/12/2001

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

CheckObjectStore

public CheckObjectStore()
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 store's base file name.

Usage: javavm stec.pos.CheckObjectStore {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 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 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.