Package org.apache.qpid.server.store

Examples of org.apache.qpid.server.store.StoreFuture


        if (tx == null)
        {
            throw new StoreException("Fatal internal error: transactional is null at commitTran");
        }

        StoreFuture result = getEnvironmentFacade().commit(tx, syncCommit);

        if (getLogger().isDebugEnabled())
        {
            String transactionType = syncCommit ? "synchronous" : "asynchronous";
            getLogger().debug("commitTranImpl completed " + transactionType + " transaction " + tx);
View Full Code Here


    }

    public StoreFuture commitAsync(final Runnable deferred)
    {
        sync();
        StoreFuture future = StoreFuture.IMMEDIATE_FUTURE;
        if(_transaction != null)
        {
            future = new StoreFuture()
                        {
                            private volatile boolean _completed = false;
                            private StoreFuture _underlying = _transaction.commitTranAsync();

                            @Override
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.store.StoreFuture

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.