public class WorkflowRpcService
extends org.apache.hadoop.service.AbstractService
| Constructor and Description |
|---|
WorkflowRpcService(String name,
org.apache.hadoop.ipc.Server server)
Construct an instance
|
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getConnectAddress()
Get the socket address of this server
|
org.apache.hadoop.ipc.Server |
getServer()
Get the server
|
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic WorkflowRpcService(String name, org.apache.hadoop.ipc.Server server)
name - service nameserver - service to stoppublic org.apache.hadoop.ipc.Server getServer()
public InetSocketAddress getConnectAddress()
protected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.