Package edu.brown.hstore.callbacks

Examples of edu.brown.hstore.callbacks.RemotePrepareCallback


        RemoteTransaction ts = this.hstore_site.getTransaction(txn_id);
        assert(ts != null) : "Unexpected null transaction handle for txn #" + txn_id;
       
        // Always create a new prepare callback because we may get multiple messages
        // to prepare this txn for commit.
        RemotePrepareCallback wrapper = ts.getPrepareCallback();
        assert(wrapper.isInitialized() == false);
        wrapper.init(ts, partitions, callback);
       
        this.hstore_site.transactionPrepare(ts, partitions, wrapper);
    }
View Full Code Here


     * This will always create a new callback
     */
    @SuppressWarnings("unchecked")
    @Override
    public RemotePrepareCallback getPrepareCallback() {
        RemotePrepareCallback callback = new RemotePrepareCallback(hstore_site);
        this.prepare_callbacks.add(callback);
        return (callback);
    }
View Full Code Here

TOP

Related Classes of edu.brown.hstore.callbacks.RemotePrepareCallback

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.