Package railo.runtime.debug

Examples of railo.runtime.debug.ActiveLock


      cflock.set("succeeded",Boolean.TRUE);
      cflock.set("errortext","");
      pageContext.variablesScope().set("cflock",cflock);
        start=System.nanoTime();
        try {
        ((PageContextImpl)pageContext).setActiveLock(new ActiveLock(type,name,timeoutInMillis)); // this has to be first, otherwise LockTimeoutException has nothing to release
        data = manager.lock(type,name,timeoutInMillis,pageContext.getId());
    }
    catch (LockTimeoutException e) {
      LockManagerImpl mi = (LockManagerImpl)manager;
        Boolean hasReadLock = mi.isReadLocked(name);
View Full Code Here


   
    return EVAL_BODY_INCLUDE;
  }
 
  private void _release(PageContext pc, long exe) {
    ActiveLock al = ((PageContextImpl)pc).releaseActiveLock();
      // listener
    ((ConfigWebImpl)pc.getConfig()).getActionMonitorCollector()
      .log(pageContext, "lock", "Lock", exe, al.name+":"+al.timeoutInMillis);
   
  }
View Full Code Here

    int row,openConnections=0;
    CFMLFactoryImpl factory;
    ActiveQuery[] queries;
    ActiveQuery aq;
    ActiveLock[] locks;
    ActiveLock al;
    for(int i=0;i<webs.length;i++){
     
      // Loop requests
      web=(ConfigWebImpl) webs[i];
      factory=(CFMLFactoryImpl)web.getFactory();
View Full Code Here

TOP

Related Classes of railo.runtime.debug.ActiveLock

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.