Package edu.brown.hstore.Hstoreservice

Examples of edu.brown.hstore.Hstoreservice.TransactionFinishRequest


    @SuppressWarnings("unchecked")
    @Override
    public void runImpl(Object o[]) {
        RpcController controller = (RpcController)o[0];
        TransactionFinishRequest request = (TransactionFinishRequest)o[1];
        RpcCallback<TransactionFinishResponse> callback = (RpcCallback<TransactionFinishResponse>)o[2];
        hstore_coordinator.getTransactionFinishHandler().remoteHandler(controller, request, callback);
    }
View Full Code Here


            hstore_site.transactionFinish(ts.getTransactionId(), status, partitions);
        }
        // SLOW PATH: Since we have to go over the network, we have to use our trusty ol'
        // TransactionFinishHandler to route the request to proper sites.
        else {
            TransactionFinishRequest request = TransactionFinishRequest.newBuilder()
                                                            .setTransactionId(ts.getTransactionId())
                                                            .setStatus(status)
                                                            .addAllPartitions(partitions)
                                                            .build();
            this.transactionFinish_handler.sendMessages(ts, request, callback, partitions);
View Full Code Here

TOP

Related Classes of edu.brown.hstore.Hstoreservice.TransactionFinishRequest

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.