Package org.apache.commons.transaction.locking

Examples of org.apache.commons.transaction.locking.GenericLock.release()


        if (locks.get() == null) return;

        Xid txId = (Xid) activeTransactionBranch.get();
        for (Iterator it = ((HashSet)locks.get()).iterator(); it.hasNext();) {
            GenericLock lock = (GenericLock) it.next();
            lock.release(txId);
            getLogger().log(
                "Release lock: " + txId + " released " + lock.getResourceId().toString(),
                LOG_CHANNEL,
                Logger.DEBUG);
        }
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.