Package edu.brown.hstore.callbacks

Examples of edu.brown.hstore.callbacks.RemoteWorkCallback


        }
       
        for (WorkFragment work : request.getFragmentsList()) {
            // Always initialize the TransactionWorkCallback for the first callback
            if (first) {
                RemoteWorkCallback work_callback = ts.getWorkCallback();
                if (work_callback.isInitialized()) work_callback.finish(); // HACK
                work_callback.init(ts, partitions, callback);
                if (debug.val)
                    LOG.debug(String.format("Initializing %s for %s",
                              work_callback.getClass().getSimpleName(), ts));
            }
           
            if (debug.val)
                LOG.debug(String.format("Invoking transactionWork for %s [first=%s]", ts, first));
            hstore_site.transactionWork(ts, work);
View Full Code Here


     * @param hstore_site
     */
    public RemoteTransaction(HStoreSite hstore_site) {
        super(hstore_site);
        this.init_callback = new RemoteInitQueueCallback(hstore_site);
        this.work_callback = new RemoteWorkCallback(hstore_site);
        this.finish_callback = new RemoteFinishCallback(hstore_site);
       
        CatalogContext catalogContext = hstore_site.getCatalogContext();
        this.rpc_transactionPrefetch = new ProtoRpcController[catalogContext.numberOfPartitions];
    }
View Full Code Here

TOP

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

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.