|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.support.LifecycleObjectSupport org.springframework.yarn.integration.support.IntegrationObjectSupport org.springframework.yarn.integration.IntegrationAppmasterServiceClient<MindRpcMessageHolder> org.springframework.yarn.integration.ip.mind.MindAppmasterServiceClient org.springframework.yarn.integration.ip.mind.DefaultMindAppmasterServiceClient
public class DefaultMindAppmasterServiceClient
Default implementation of MindAppmasterServiceClient
which
handles the message serialization using type information in
mind message headers.
Constructor Summary | |
---|---|
DefaultMindAppmasterServiceClient()
|
Method Summary | |
---|---|
protected BaseResponseObject |
getBaseResponseObject(RpcMessage<?> rpcMessage)
This method is called from MindAppmasterServiceClient.doMindRequest(BaseObject) to convert
the response content back to mind BaseResponseObject . |
Methods inherited from class org.springframework.yarn.integration.ip.mind.MindAppmasterServiceClient |
---|
doMindRequest, getPayload |
Methods inherited from class org.springframework.yarn.integration.IntegrationAppmasterServiceClient |
---|
get, setRequestChannel, setResponseChannel |
Methods inherited from class org.springframework.yarn.integration.support.IntegrationObjectSupport |
---|
getConversionService, setConversionService |
Methods inherited from class org.springframework.yarn.support.LifecycleObjectSupport |
---|
afterPropertiesSet, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.yarn.client.AppmasterScOperations |
---|
get |
Constructor Detail |
---|
public DefaultMindAppmasterServiceClient()
Method Detail |
---|
protected BaseResponseObject getBaseResponseObject(RpcMessage<?> rpcMessage)
MindAppmasterServiceClient
MindAppmasterServiceClient.doMindRequest(BaseObject)
to convert
the response content back to mind BaseResponseObject
. This class
itself can't have enough knowledge to do the conversion so process
is left to implementor.
getBaseResponseObject
in class MindAppmasterServiceClient
rpcMessage
- the rpc message
BaseResponseObject
build from a RpcMessage
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |