public class CacheItemCache extends CacheItem
Constructor and Description |
---|
CacheItemCache(PageContext pc,
javax.servlet.http.HttpServletRequest req,
String id,
String key,
boolean useId,
Cache cache,
TimeSpan timespan) |
Modifier and Type | Method and Description |
---|---|
static void |
_flush(PageContext pc,
Cache cache,
String expireurl) |
static void |
_flushAll(PageContext pc,
Cache cache) |
String |
getValue() |
boolean |
isValid() |
boolean |
isValid(TimeSpan timespan) |
void |
store(byte[] barr,
boolean append) |
void |
store(String value) |
void |
writeTo(OutputStream os,
String charset) |
flush, flushAll, getInstance
public CacheItemCache(PageContext pc, javax.servlet.http.HttpServletRequest req, String id, String key, boolean useId, Cache cache, TimeSpan timespan)
public void writeTo(OutputStream os, String charset) throws IOException
writeTo
in class CacheItem
IOException
public String getValue() throws IOException
getValue
in class CacheItem
IOException
public void store(String value) throws IOException
store
in class CacheItem
IOException
public void store(byte[] barr, boolean append) throws IOException
store
in class CacheItem
IOException
public static void _flushAll(PageContext pc, Cache cache) throws IOException
IOException
public static void _flush(PageContext pc, Cache cache, String expireurl) throws org.apache.oro.text.regex.MalformedPatternException, IOException
org.apache.oro.text.regex.MalformedPatternException
IOException
Copyright © 2015 Lucee