net.obsearch.constants
Class OBSearchProperties

java.lang.Object
  extended by net.obsearch.constants.OBSearchProperties

public class OBSearchProperties
extends Object

See the file obsearch.properties for comments on each value.


Constructor Summary
OBSearchProperties()
           
 
Method Summary
static int getACacheSize()
           
static int getBCacheSize()
           
static long getBDBCacheSize()
           
static int getBucketsCacheSize()
           
static int getIntProperty(String prop)
           
static int getLHandlesCacheSize()
           
static long getLongProperty(String prop)
           
static Properties getProperties()
          Return the properties from the test properties file.
static String getStringProperty(String prop)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBSearchProperties

public OBSearchProperties()
Method Detail

getProperties

public static Properties getProperties()
                                throws IOException
Return the properties from the test properties file.

Returns:
the properties from the test properties file
Throws:
IOException - If the file cannot be read.

getACacheSize

public static int getACacheSize()
                         throws OBException
Throws:
OBException

getLHandlesCacheSize

public static int getLHandlesCacheSize()
                                throws OBException
Throws:
OBException

getBucketsCacheSize

public static int getBucketsCacheSize()
                               throws OBException
Throws:
OBException

getBCacheSize

public static int getBCacheSize()
                         throws OBException
Throws:
OBException

getBDBCacheSize

public static long getBDBCacheSize()
                            throws OBException
Throws:
OBException

getStringProperty

public static String getStringProperty(String prop)
                                throws OBException
Throws:
OBException

getIntProperty

public static int getIntProperty(String prop)
                          throws OBException
Throws:
OBException

getLongProperty

public static long getLongProperty(String prop)
                            throws OBException
Throws:
OBException


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.