public class ParallelTaskConfig extends Object
ParallelTask.
This can be overwritten for each task.
Configs about various timeout, whether to auto save logs / save responses.
whether to enable the capacity scheduler.
Some of the most useful ones we directly have APIs by the ParallelTaskBuilder
will load from the default value from ParallelTaskConfigDefault| Constructor and Description |
|---|
ParallelTaskConfig() |
public long getAsstManagerRetryIntervalMillis()
public void setAsstManagerRetryIntervalMillis(long asstManagerRetryIntervalMillis)
public int getActorMaxOperationTimeoutSec()
public void setActorMaxOperationTimeoutSec(int actorMaxOperationTimeoutSec)
public long getTimeoutInManagerSec()
public void setTimeoutInManagerSec(long timeoutInManagerSec)
public long getTimeoutAskManagerSec()
public void setTimeoutAskManagerSec(long timeoutAskManagerSec)
public boolean isPrintHttpTrueHeaderMap()
public void setPrintHttpTrueHeaderMap(boolean printHttpTrueHeaderMap)
public boolean isPrintPoller()
public void setPrintPoller(boolean printPoller)
public boolean isSaveResponseToTask()
public void setSaveResponseToTask(boolean saveResponseToTask)
public boolean isEnableCapacityAwareTaskScheduler()
public void setEnableCapacityAwareTaskScheduler(boolean enableCapacityAwareTaskScheduler)
public boolean isAutoSaveLogToLocal()
public void setAutoSaveLogToLocal(boolean autoSaveLogToLocal)
public HandlerExecutionLocation getHandlerExecutionLocation()
public void setHandlerExecutionLocation(HandlerExecutionLocation handlerExecutionLocation)
Copyright © 2015–2016 eBay. All rights reserved.