public class BatchAppmasterService extends MindAppmasterService
JobRepositoryService
.Modifier and Type | Class and Description |
---|---|
protected class |
BatchAppmasterService.JobRepositoryServiceInterceptorList
Convenient wrapper for interceptor list.
|
Constructor and Description |
---|
BatchAppmasterService() |
Modifier and Type | Method and Description |
---|---|
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.
|
handleMessageInternal
doStart, doStop, getHost, getPort, hasPort, setMessageChannel, setSocketSupport
getConversionService, setConversionService
afterPropertiesSet, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
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()