Package org.agilewiki.jactor.nbLock

Examples of org.agilewiki.jactor.nbLock.JANBLock.initialize()


    public void test() {
        MailboxFactory mailboxFactory = JAMailboxFactory.newMailboxFactory(10);
        try {
            JAFuture future = new JAFuture();
            JANBLock nblock = new JANBLock();
            nblock.initialize(mailboxFactory.createAsyncMailbox());
            Driver driver = new Driver();
            driver.initialize(mailboxFactory.createAsyncMailbox(), nblock);
            (new DoItEx()).send(future, driver);
        } catch (Throwable e) {
            e.printStackTrace();
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.