Package railo.runtime.lock

Examples of railo.runtime.lock.LockManagerImpl


        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);
        Boolean hasWriteLock = mi.isWriteLocked(name);
        String msg = LockTimeoutExceptionImpl.createMessage(type, name, lockType, timeoutInMillis, hasReadLock, hasWriteLock);
       
        _release(pageContext,System.nanoTime()-start);
        name=null;
       
View Full Code Here

TOP

Related Classes of railo.runtime.lock.LockManagerImpl

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.