ozone API

org.ozoneDB
Class Setup

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--org.ozoneDB.util.EnhProperties
                          |
                          +--org.ozoneDB.Setup
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Setup
extends org.ozoneDB.util.EnhProperties

Setup holds all static configuration properties plus all dynamic runtime properties of an ozone environment. Setup has methods to store/update the value of a property to handle such dynamic properties.

Version:
$Revision: 1.5 $Date: 2002/06/08 00:49:38 $
Author:
SMB
, Medium.net
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static java.lang.String ADMIN_PORT
           
static java.lang.String CS_CLUSTER_SIZE
           
static java.lang.String CS_CLUSTER_SPACE_SIZE
           
static java.lang.String CS_TABLE_BUFF_SIZE
           
static java.lang.String CS_TABLE_CACHE_SIZE
           
static java.lang.String DB_ID
           
static java.lang.String GARBAGE_COLLECTION_LEVEL
           
static java.lang.String LOG_LEVEL
           
static java.lang.String PORT
           
static java.lang.String STORE
           
static java.lang.String WS_CLUSTER_SIZE
           
static java.lang.String WS_CLUSTER_SIZE_RATIO
           
static java.lang.String WS_COMPRESS_CLUSTERS
           
static java.lang.String WS_TABLE_BUFF_SIZE
           
static java.lang.String WS_TABLE_CACHE_SIZE
           
static java.lang.String WS_TABLE_SUBTABLE_SIZE
           
static java.lang.String XOID
           
 
Constructor Summary
Setup(org.ozoneDB.core.Env _env)
           
Setup(org.ozoneDB.core.Env _env, java.util.Properties _defaults)
           
 
Method Summary
 void fillWithOzoneDefaults()
           
 
Methods inherited from class org.ozoneDB.util.EnhProperties
addObserver, addProperties, booleanProperty, hasChanged, intProperty, longProperty, notifyObservers, print, property, removeObserver, setBooleanProperty, setIntProperty, setLongProperty, setProperty, setStringProperty, stringProperty, stringsProperty
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DB_ID

public static final java.lang.String DB_ID
See Also:
Constant Field Values

PORT

public static final java.lang.String PORT
See Also:
Constant Field Values

ADMIN_PORT

public static final java.lang.String ADMIN_PORT
See Also:
Constant Field Values

LOG_LEVEL

public static final java.lang.String LOG_LEVEL
See Also:
Constant Field Values

STORE

public static final java.lang.String STORE
See Also:
Constant Field Values

XOID

public static final java.lang.String XOID
See Also:
Constant Field Values

CS_CLUSTER_SIZE

public static final java.lang.String CS_CLUSTER_SIZE
See Also:
Constant Field Values

CS_CLUSTER_SPACE_SIZE

public static final java.lang.String CS_CLUSTER_SPACE_SIZE
See Also:
Constant Field Values

CS_TABLE_BUFF_SIZE

public static final java.lang.String CS_TABLE_BUFF_SIZE
See Also:
Constant Field Values

CS_TABLE_CACHE_SIZE

public static final java.lang.String CS_TABLE_CACHE_SIZE
See Also:
Constant Field Values

WS_CLUSTER_SIZE

public static final java.lang.String WS_CLUSTER_SIZE
See Also:
Constant Field Values

WS_CLUSTER_SIZE_RATIO

public static final java.lang.String WS_CLUSTER_SIZE_RATIO
See Also:
Constant Field Values

WS_TABLE_BUFF_SIZE

public static final java.lang.String WS_TABLE_BUFF_SIZE
See Also:
Constant Field Values

WS_TABLE_CACHE_SIZE

public static final java.lang.String WS_TABLE_CACHE_SIZE
See Also:
Constant Field Values

WS_TABLE_SUBTABLE_SIZE

public static final java.lang.String WS_TABLE_SUBTABLE_SIZE
See Also:
Constant Field Values

WS_COMPRESS_CLUSTERS

public static final java.lang.String WS_COMPRESS_CLUSTERS
See Also:
Constant Field Values

GARBAGE_COLLECTION_LEVEL

public static final java.lang.String GARBAGE_COLLECTION_LEVEL
See Also:
Constant Field Values
Constructor Detail

Setup

public Setup(org.ozoneDB.core.Env _env)

Setup

public Setup(org.ozoneDB.core.Env _env,
             java.util.Properties _defaults)
Method Detail

fillWithOzoneDefaults

public void fillWithOzoneDefaults()

ozone API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.