Skip navigation links
oracle.javatools.resourcebundle
Class ResourceBundleCacheConfig
java.lang.Object
oracle.javatools.resourcebundle.ResourceBundleCacheConfig
-
public class ResourceBundleCacheConfig
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceBundleCacheConfig
public ResourceBundleCacheConfig(int initialSize,
int maxSize,
int expireTimeSeconds,
float loadFactor)
getExpireSeconds
public int getExpireSeconds()
getExpireMillis
public int getExpireMillis()
getInitialSize
public int getInitialSize()
getLoadFactor
public float getLoadFactor()
getMaxSize
public int getMaxSize()
getDefault
public static ResourceBundleCacheConfig getDefault()
- Note: avoid static instance.
-
- Returns:
- dynamy default value, could change any time.
getCurrentAppConfig
public static ResourceBundleCacheConfig getCurrentAppConfig()
valueOf
public static ResourceBundleCacheConfig valueOf(org.w3c.dom.Element bundleCacheNode)
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.