org.ov4j
Class Config

java.lang.Object
  extended by org.ov4j.Config

public class Config
extends java.lang.Object

Configuration bundle, will load the first ov4j.properties file found in the classpath.

Author:
smolloy

Field Summary
static java.lang.Object GC_LOCK
           
static long MIN_MEMORY
           
 
Method Summary
static boolean checkMemory()
           
static boolean enoughFree()
           
static long getAvailableMemory()
           
static java.lang.String getString(java.lang.String key)
          Retrieve a string from the resource bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_MEMORY

public static final long MIN_MEMORY

GC_LOCK

public static final java.lang.Object GC_LOCK
Method Detail

checkMemory

public static boolean checkMemory()

enoughFree

public static boolean enoughFree()

getAvailableMemory

public static long getAvailableMemory()

getString

public static java.lang.String getString(java.lang.String key)
Retrieve a string from the resource bundle.

Parameters:
key - Key to search for.
Returns:
String value associated with the key.


Copyright © 2004-2007 Steve Molloy. All Rights Reserved.