Package edu.brown.hstore.callbacks

Examples of edu.brown.hstore.callbacks.ShutdownPrepareCallback


   
    protected void prepareShutdownCluster(final Throwable error) throws Exception {
        final CountDownLatch latch = new CountDownLatch(this.num_sites-1);
       
        if (this.num_sites > 1) {
            RpcCallback<ShutdownPrepareResponse> callback = new ShutdownPrepareCallback(this.num_sites, latch);
            ShutdownPrepareRequest.Builder builder = ShutdownPrepareRequest.newBuilder()
                                                        .setSenderSite(this.catalog_site.getId());
            // Pack the error into a SerializableException
            if (error != null) {
                SerializableException sError = new SerializableException(error);
View Full Code Here

TOP

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

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.