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.
|
handleMessageInternaldoStart, doStop, getHost, getPort, hasPort, setMessageChannel, setSocketSupportgetConversionService, setConversionServiceafterPropertiesSet, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stopprotected MindRpcMessageHolder handleMindMessageInternal(MindRpcMessageHolder message)
MindAppmasterServiceMindRpcMessageHolder.handleMindMessageInternal in class MindAppmasterServicemessage - the MindRpcMessageHolderMindRpcMessageHolderpublic 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()