Examples of ShutdownRequest


Examples of com.hazelcast.executor.client.ShutdownRequest

                    case TARGET_CALLABLE_REQUEST:
                        return new TargetCallableRequest();
                    case PARTITION_CALLABLE_REQUEST:
                        return new PartitionCallableRequest();
                    case SHUTDOWN_REQUEST:
                        return new ShutdownRequest();
                    default:
                        return null;
                }
            }
        };
View Full Code Here

Examples of com.hazelcast.executor.client.ShutdownRequest

    public LocalExecutorStats getLocalExecutorStats() {
        throw new UnsupportedOperationException("Locality is ambiguous for client!!!");
    }

    public void shutdown() {
        final ShutdownRequest request = new ShutdownRequest(name);
        invoke(request);
    }
View Full Code Here

Examples of com.hazelcast.executor.impl.client.ShutdownRequest

                    case TARGET_CALLABLE_REQUEST:
                        return new TargetCallableRequest();
                    case PARTITION_CALLABLE_REQUEST:
                        return new PartitionCallableRequest();
                    case SHUTDOWN_REQUEST:
                        return new ShutdownRequest();
                    default:
                        return null;
                }
            }
        };
View Full Code Here

Examples of com.hazelcast.executor.impl.client.ShutdownRequest

    public LocalExecutorStats getLocalExecutorStats() {
        throw new UnsupportedOperationException("Locality is ambiguous for client!!!");
    }

    public void shutdown() {
        final ShutdownRequest request = new ShutdownRequest(name);
        invoke(request);
    }
View Full Code Here

Examples of edu.brown.hstore.Hstoreservice.ShutdownRequest

                    @Override
                    public void run(ShutdownResponse parameter) {
                        // Nothing to do...
                    }
                };
                ShutdownRequest request = ShutdownRequest.newBuilder()
                                                            .setSenderSite(this.catalog_site.getId())
                                                            .setExitStatus(exit_status)
                                                            .build();
               
                if (debug.val)
                    LOG.debug(String.format("Sending %s to %d remote sites",
                              request.getClass().getSimpleName(), this.num_sites));
                for (int site_id = 0; site_id < this.num_sites; site_id++) {
                    if (site_id == this.local_site_id) continue;
                    this.channels[site_id].shutdown(new ProtoRpcController(), request, callback);
                    if (debug.val)
                        LOG.debug(String.format("Sent %s to %s",
                                  request.getClass().getSimpleName(),
                                  HStoreThreadManager.formatSiteName(site_id)));
                } // FOR
               
                ThreadUtil.sleep(2000);
            }
View Full Code Here

Examples of org.fcrepo.server.journal.readerwriter.multicast.request.ShutdownRequest

            if (state == FILE_OPEN) {
                closeFile();
            }

            logger.debug("Shutting down.");
            sendRequestToAllTransports(new ShutdownRequest());
            state = SHUTDOWN;
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.