railo.runtime.cache.legacy
Class CacheItemCache

java.lang.Object
  extended by railo.runtime.cache.legacy.CacheItem
      extended by railo.runtime.cache.legacy.CacheItemCache

public class CacheItemCache
extends CacheItem


Constructor Summary
CacheItemCache(PageContext pc, javax.servlet.http.HttpServletRequest req, String id, String key, boolean useId, Cache cache, TimeSpan timespan)
           
 
Method Summary
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)
           
 
Methods inherited from class railo.runtime.cache.legacy.CacheItem
flush, flushAll, getInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheItemCache

public CacheItemCache(PageContext pc,
                      javax.servlet.http.HttpServletRequest req,
                      String id,
                      String key,
                      boolean useId,
                      Cache cache,
                      TimeSpan timespan)
               throws IOException
Throws:
IOException
Method Detail

isValid

public boolean isValid()
Specified by:
isValid in class CacheItem

isValid

public boolean isValid(TimeSpan timespan)
Specified by:
isValid in class CacheItem

writeTo

public void writeTo(OutputStream os,
                    String charset)
             throws IOException
Specified by:
writeTo in class CacheItem
Throws:
IOException

getValue

public String getValue()
                throws IOException
Specified by:
getValue in class CacheItem
Throws:
IOException

store

public void store(String value)
           throws IOException
Specified by:
store in class CacheItem
Throws:
IOException

store

public void store(byte[] barr,
                  boolean append)
           throws IOException
Specified by:
store in class CacheItem
Throws:
IOException

_flushAll

public static void _flushAll(PageContext pc,
                             Cache cache)

_flush

public static void _flush(PageContext pc,
                          Cache cache,
                          String expireurl)
                   throws org.apache.oro.text.regex.MalformedPatternException
Throws:
org.apache.oro.text.regex.MalformedPatternException


Copyright © 2012 Railo