Package railo.runtime.query

Examples of railo.runtime.query.QueryCacheSupport.clear()


  }
  public void _doStartTag() throws PageException  {
    QueryCacheSupport qc = ((QueryCacheSupport)pageContext.getQueryCache());
    if(action.equalsIgnoreCase("clear")) {
      if(filter==null)
          qc.clear(pageContext);
        else
          qc.clear(pageContext,filter);
    }
    else if(action.equalsIgnoreCase("size")) {
      pageContext.setVariable(result, Caster.toDouble(qc.size(pageContext)));
View Full Code Here


    QueryCacheSupport qc = ((QueryCacheSupport)pageContext.getQueryCache());
    if(action.equalsIgnoreCase("clear")) {
      if(filter==null)
          qc.clear(pageContext);
        else
          qc.clear(pageContext,filter);
    }
    else if(action.equalsIgnoreCase("size")) {
      pageContext.setVariable(result, Caster.toDouble(qc.size(pageContext)));
    }
    else throw new ApplicationException("attribute action has an invalid value ["+action+"], valid is only [clear,size]");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.