|
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.IntegrationAppmasterService<MindRpcMessageHolder> org.springframework.yarn.integration.ip.mind.MindAppmasterService org.springframework.yarn.batch.repository.BatchAppmasterService
public class BatchAppmasterService
Application master service implementation which is used for
remote Spring Batch steps to talk to Job Repository. Simply
passes requests to JobRepositoryService
.
Nested Class Summary | |
---|---|
protected class |
BatchAppmasterService.JobRepositoryServiceInterceptorList
Convenient wrapper for interceptor list. |
Constructor Summary | |
---|---|
BatchAppmasterService()
|
Method Summary | |
---|---|
void |
addInterceptor(JobRepositoryRemoteServiceInterceptor interceptor)
Add a service interceptor to the end of the list. |
protected BatchAppmasterService.JobRepositoryServiceInterceptorList |
getInterceptors()
Exposes the interceptor list for subclasses. |
protected MindRpcMessageHolder |
handleMindMessageInternal(MindRpcMessageHolder message)
Internal message handling for MindRpcMessageHolder . |
void |
setInterceptors(java.util.List<JobRepositoryRemoteServiceInterceptor> interceptors)
Set the list of channel interceptors. |
void |
setJobRepositoryRemoteService(JobRepositoryService jobRepositoryRemoteService)
Sets the job repository remote service. |
Methods inherited from class org.springframework.yarn.integration.ip.mind.MindAppmasterService |
---|
handleMessageInternal |
Methods inherited from class org.springframework.yarn.integration.IntegrationAppmasterService |
---|
doStart, doStop, getHost, getPort, hasPort, setMessageChannel, setSocketSupport |
Methods inherited from class org.springframework.yarn.integration.support.IntegrationObjectSupport |
---|
getConversionService, setConversionService |
Methods inherited from class org.springframework.yarn.support.LifecycleObjectSupport |
---|
afterPropertiesSet, 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 |
Constructor Detail |
---|
public BatchAppmasterService()
Method Detail |
---|
protected MindRpcMessageHolder handleMindMessageInternal(MindRpcMessageHolder message)
MindAppmasterService
MindRpcMessageHolder
.
handleMindMessageInternal
in class MindAppmasterService
message
- the MindRpcMessageHolder
MindRpcMessageHolder
public void setJobRepositoryRemoteService(JobRepositoryService jobRepositoryRemoteService)
jobRepositoryRemoteService
- the new job repository remote servicepublic void setInterceptors(java.util.List<JobRepositoryRemoteServiceInterceptor> interceptors)
interceptors
- the new interceptorspublic void addInterceptor(JobRepositoryRemoteServiceInterceptor interceptor)
interceptor
- the interceptorprotected BatchAppmasterService.JobRepositoryServiceInterceptorList getInterceptors()
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |