public abstract class AbstractForeman extends Object implements Foreman
Modifier and Type | Field and Description |
---|---|
protected boolean |
cancel |
FOREMAN_TYPE
Constructor and Description |
---|
AbstractForeman(String type) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getType()
返回执行哪种类型的工作任务
|
WorkCombiner |
getWorkCombiner() |
WorkQueue |
getWorkQueue() |
WorkSplitter |
getWorkSplitter() |
WorkStatus |
getWorkStatus() |
void |
setWorkCombiner(WorkCombiner workCombiner)
设置工作合并器
|
void |
setWorkQueue(WorkQueue workQueue) |
void |
setWorkSplitter(WorkSplitter workSplitter)
设置工作分解器
|
void |
setWorkStatus(WorkStatus workStatus) |
public AbstractForeman(String type) throws RemoteException
RemoteException
public WorkCombiner getWorkCombiner()
public void setWorkCombiner(WorkCombiner workCombiner)
Foreman
setWorkCombiner
in interface Foreman
public WorkSplitter getWorkSplitter()
public void setWorkSplitter(WorkSplitter workSplitter)
Foreman
setWorkSplitter
in interface Foreman
public WorkQueue getWorkQueue()
public void setWorkQueue(WorkQueue workQueue)
public String getType()
Foreman
getType
in interface Foreman
getType
in interface ParallelObject
public WorkStatus getWorkStatus()
public void setWorkStatus(WorkStatus workStatus)
public String getId()
getId
in interface ParallelObject
Copyright © 2006–2018 TinyGroup. All rights reserved.