org.ov4j
Class Config
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_MEMORY
public static final long MIN_MEMORY
GC_LOCK
public static final java.lang.Object GC_LOCK
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.