Package railo.runtime.cache.eh.remote.rest.sax

Examples of railo.runtime.cache.eh.remote.rest.sax.CacheConfiguration


 

  public Struct getCustomInfo() {
    Struct info=super.getCustomInfo();
    try  {
      CacheConfiguration conf = rest.getMeta(name).getCacheConfiguration();
     
      info.setEL("disk_expiry_thread_interval", new Double(conf.getDiskExpiryThreadIntervalSeconds()));
      info.setEL("disk_spool_buffer_size", new Double(conf.getDiskSpoolBufferSize()));
      info.setEL("max_elements_in_memory", new Double(conf.getMaxElementsInMemory()));
      info.setEL("max_elements_on_disk", new Double(conf.getMaxElementsOnDisk()));
      info.setEL("time_to_idle", new Double(conf.getTimeToIdleSeconds()));
      info.setEL("time_to_live", new Double(conf.getTimeToLiveSeconds()));
      info.setEL(KeyConstants._name, conf.getName());
    }
    catch(Throwable t){
      //print.printST(t);
    }
   
View Full Code Here

TOP

Related Classes of railo.runtime.cache.eh.remote.rest.sax.CacheConfiguration

Copyright © 2018 www.massapicom. 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.