railo.runtime.functions.cache
Class Util
java.lang.Object
railo.runtime.functions.cache.Util
public class Util
- extends Object
Constructor Summary |
Util()
|
Method Summary |
static Cache |
getCache(Config config,
String cacheName)
|
static Cache |
getCache(Config config,
String cacheName,
Cache defaultValue)
|
static Cache |
getCache(Config config,
String cacheName,
int type)
|
static Cache |
getCache(Config config,
String cacheName,
int type,
Cache defaultValue)
|
static Cache |
getCache(PageContext pc,
String cacheName)
Deprecated. use getCache(Config config,String cacheName) instead |
static Cache |
getCache(PageContext pc,
String cacheName,
int type)
Deprecated. use getCache(Config config,String cacheName, int type) instead |
static CacheConnection |
getCacheConnection(Config config,
String cacheName)
|
static CacheConnection |
getCacheConnection(Config config,
String cacheName,
CacheConnection defaultValue)
|
static CacheConnection |
getCacheConnection(Config config,
String cacheName,
int type)
|
static Cache |
getDefault(Config config,
int type)
|
static Cache |
getDefault(Config config,
int type,
Cache defaultValue)
|
static Cache |
getDefault(PageContext pc,
int type)
|
static CacheConnection |
getDefaultCacheConnection(Config config,
int type)
|
static String |
key(String key)
|
static void |
remove(ConfigWeb config,
CacheConnection cc)
|
static boolean |
removeEL(ConfigWeb config,
CacheConnection cc)
|
static String |
toType(int type,
String defaultValue)
|
static int |
toType(String type,
int defaultValue)
|
Util
public Util()
getDefault
public static Cache getDefault(PageContext pc,
int type)
throws IOException
- Throws:
IOException
getDefaultCacheConnection
public static CacheConnection getDefaultCacheConnection(Config config,
int type)
throws IOException
- Throws:
IOException
getDefault
public static Cache getDefault(Config config,
int type)
throws IOException
- Throws:
IOException
getDefault
public static Cache getDefault(Config config,
int type,
Cache defaultValue)
getCacheConnection
public static CacheConnection getCacheConnection(Config config,
String cacheName,
int type)
throws IOException
- Throws:
IOException
getCache
public static Cache getCache(Config config,
String cacheName,
int type)
throws IOException
- Throws:
IOException
getCache
public static Cache getCache(Config config,
String cacheName,
int type,
Cache defaultValue)
getCache
public static Cache getCache(PageContext pc,
String cacheName,
int type)
throws IOException
- Deprecated. use
getCache(Config config,String cacheName, int type)
instead
- Parameters:
pc
- cacheName
- type
-
- Returns:
-
- Throws:
IOException
getCache
public static Cache getCache(PageContext pc,
String cacheName)
throws IOException
- Deprecated. use
getCache(Config config,String cacheName)
instead
- Parameters:
pc
- cacheName
-
- Returns:
-
- Throws:
IOException
getCache
public static Cache getCache(Config config,
String cacheName)
throws IOException
- Throws:
IOException
getCache
public static Cache getCache(Config config,
String cacheName,
Cache defaultValue)
getCacheConnection
public static CacheConnection getCacheConnection(Config config,
String cacheName)
throws IOException
- Throws:
IOException
getCacheConnection
public static CacheConnection getCacheConnection(Config config,
String cacheName,
CacheConnection defaultValue)
key
public static String key(String key)
removeEL
public static boolean removeEL(ConfigWeb config,
CacheConnection cc)
remove
public static void remove(ConfigWeb config,
CacheConnection cc)
throws Throwable
- Throws:
Throwable
toType
public static int toType(String type,
int defaultValue)
toType
public static String toType(int type,
String defaultValue)
Copyright © 2012 Railo