Constructor and Description |
---|
CacheUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
allowAll(CacheFilter filter) |
static Struct |
getInfo(Cache c) |
static Struct |
getInfo(CacheEntry ce) |
static Struct |
getInfo(Struct info,
Cache c) |
static Struct |
getInfo(Struct info,
CacheEntry ce) |
static Cache |
getInstance(CacheConnection cc,
Config config)
in difference to the getInstance method of the CacheConnection this method produces a wrapper Cache (if necessary) that creates Entry objects to make sure the Cache has meta data.
|
static String |
toString(CacheEntry ce) |
static Object |
toTimespan(long timespan) |
public CacheUtil()
public static Struct getInfo(CacheEntry ce)
public static Struct getInfo(Struct info, CacheEntry ce)
public static Object toTimespan(long timespan)
public static String toString(CacheEntry ce)
public static boolean allowAll(CacheFilter filter)
public static Cache getInstance(CacheConnection cc, Config config) throws IOException
cc
- config
- IOException
Copyright © 2015 Lucee