Package railo.runtime.type.scope.storage

Examples of railo.runtime.type.scope.storage.StorageScopeEngine


    public void clearUnused() {
     
      Log log=getLog();
      try{
      // create cleaner engine for session/client scope
      if(session==null)session=new StorageScopeEngine(factory,log,new StorageScopeCleaner[]{
      new FileStorageScopeCleaner(Scope.SCOPE_SESSION, null)//new SessionEndListener())
      ,new DatasourceStorageScopeCleaner(Scope.SCOPE_SESSION, null)//new SessionEndListener())
      //,new CacheStorageScopeCleaner(Scope.SCOPE_SESSION, new SessionEndListener())
      });
      if(client==null)client=new StorageScopeEngine(factory,log,new StorageScopeCleaner[]{
          new FileStorageScopeCleaner(Scope.SCOPE_CLIENT, null)
          ,new DatasourceStorageScopeCleaner(Scope.SCOPE_CLIENT, null)
          //,new CacheStorageScopeCleaner(Scope.SCOPE_CLIENT, null) //Cache storage need no control, if there is no listener
      });
View Full Code Here

TOP

Related Classes of railo.runtime.type.scope.storage.StorageScopeEngine

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.