public class SingularityExecutorConfiguration
extends com.hubspot.singularity.runner.base.configuration.BaseRunnerConfiguration
| Modifier and Type | Field and Description |
|---|---|
String |
shellCommandOutFile |
List<SingularityExecutorShellCommandDescriptor> |
shellCommands |
| Constructor and Description |
|---|
SingularityExecutorConfiguration() |
public List<SingularityExecutorShellCommandDescriptor> shellCommands
@NotEmpty public String shellCommandOutFile
public String getShellCommandPidPlaceholder()
public void setShellCommandPidPlaceholder(String shellCommandPidPlaceholder)
public String getShellCommandUserPlaceholder()
public void setShellCommandUserPlaceholder(String shellCommandUserPlaceholder)
public List<SingularityExecutorLogrotateAdditionalFile> getLogrotateAdditionalFiles()
public void setLogrotateAdditionalFiles(List<SingularityExecutorLogrotateAdditionalFile> logrotateAdditionalFiles)
public List<SingularityExecutorS3UploaderAdditionalFile> getS3UploaderAdditionalFiles()
public void setS3UploaderAdditionalFiles(List<SingularityExecutorS3UploaderAdditionalFile> s3UploaderAdditionalFiles)
public String getExecutorJavaLog()
public String getExecutorBashLog()
public String getServiceLog()
public String getDefaultRunAsUser()
public String getTaskAppDirectory()
public long getShutdownTimeoutWaitMillis()
public long getIdleExecutorShutdownWaitMillis()
public int getLocalDownloadServiceMaxConnections()
public void setLocalDownloadServiceMaxConnections(int localDownloadServiceMaxConnections)
public long getStopDriverAfterMillis()
public String getGlobalTaskDefinitionDirectory()
public String getGlobalTaskDefinitionSuffix()
public long getHardKillAfterMillis()
public int getKillThreads()
public int getThreadCheckThreads()
public long getCheckThreadsEveryMillis()
public int getMaxTaskMessageLength()
public String getLogrotateCommand()
public String getLogrotateStateFile()
public String getLogrotateConfDirectory()
public String getLogrotateToDirectory()
public int getLogrotateMaxageDays()
public int getLogrotateCount()
public String getLogrotateDateformat()
public String getLogrotateExtrasDateformat()
public int getTailLogLinesToSave()
public String getServiceFinishedTailLog()
public boolean isUseLocalDownloadService()
public long getLocalDownloadServiceTimeoutMillis()
public com.google.common.base.Optional<Integer> getMaxTaskThreads()
public String getDockerPrefix()
public int getDockerStopTimeout()
public void setExecutorJavaLog(String executorJavaLog)
public void setExecutorBashLog(String executorBashLog)
public void setServiceLog(String serviceLog)
public void setDefaultRunAsUser(String defaultRunAsUser)
public void setTaskAppDirectory(String taskAppDirectory)
public void setShutdownTimeoutWaitMillis(long shutdownTimeoutWaitMillis)
public void setIdleExecutorShutdownWaitMillis(long idleExecutorShutdownWaitMillis)
public void setStopDriverAfterMillis(long stopDriverAfterMillis)
public void setGlobalTaskDefinitionDirectory(String globalTaskDefinitionDirectory)
public void setGlobalTaskDefinitionSuffix(String globalTaskDefinitionSuffix)
public void setHardKillAfterMillis(long hardKillAfterMillis)
public void setKillThreads(int killThreads)
public void setThreadCheckThreads(int threadCheckThreads)
public void setCheckThreadsEveryMillis(long checkThreadsEveryMillis)
public void setMaxTaskMessageLength(int maxTaskMessageLength)
public void setLogrotateCommand(String logrotateCommand)
public void setLogrotateStateFile(String logrotateStateFile)
public void setLogrotateConfDirectory(String logrotateConfDirectory)
public void setLogrotateToDirectory(String logrotateToDirectory)
public void setLogrotateMaxageDays(int logrotateMaxageDays)
public void setLogrotateCount(int logrotateCount)
public void setLogrotateDateformat(String logrotateDateformat)
public void setLogrotateExtrasDateformat(String logrotateExtrasDateformat)
public void setTailLogLinesToSave(int tailLogLinesToSave)
public void setServiceFinishedTailLog(String serviceFinishedTailLog)
public String getS3UploaderKeyPattern()
public void setS3UploaderKeyPattern(String s3UploaderKeyPattern)
public String getS3UploaderBucket()
public void setS3UploaderBucket(String s3UploaderBucket)
public void setUseLocalDownloadService(boolean useLocalDownloadService)
public void setLocalDownloadServiceTimeoutMillis(long localDownloadServiceTimeoutMillis)
public void setMaxTaskThreads(com.google.common.base.Optional<Integer> maxTaskThreads)
public void setDockerPrefix(String dockerPrefix)
public void setDockerStopTimeout(int dockerStopTimeout)
public String getCgroupsMesosCpuTasksFormat()
public void setCgroupsMesosCpuTasksFormat(String cgroupsMesosCpuTasksFormat)
public String getProcCgroupFormat()
public void setProcCgroupFormat(String procCgroupFormat)
public String getSwitchUserCommandFormat()
public void setSwitchUserCommandFormat(String switchUserCommandFormat)
public List<String> getArtifactSignatureVerificationCommand()
public void setArtifactSignatureVerificationCommand(List<String> artifactSignatureVerificationCommand)
public boolean isFailTaskOnInvalidArtifactSignature()
public void setFailTaskOnInvalidArtifactSignature(boolean failTaskOnInvalidArtifactSignature)
public String getSignatureVerifyOut()
public void setSignatureVerifyOut(String signatureVerifyOut)
public List<SingularityExecutorShellCommandDescriptor> getShellCommands()
public void setShellCommands(List<SingularityExecutorShellCommandDescriptor> shellCommands)
public String getShellCommandOutFile()
public void setShellCommandOutFile(String shellCommandOutFile)
public String getShellCommandPidFile()
public void setShellCommandPidFile(String shellCommandPidFile)
public int getDockerClientTimeLimitSeconds()
public void setDockerClientTimeLimitSeconds(int dockerClientTimeLimitMs)
public int getDockerClientConnectionPoolSize()
public void setDockerClientConnectionPoolSize(int dockerClientConnectionPoolSize)
public ThreadCheckerType getThreadCheckerType()
public void setThreadCheckerType(ThreadCheckerType threadCheckerType)
Copyright © 2016. All rights reserved.