public final class WorkerConfiguration extends DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
Constructor and Description |
---|
WorkerConfiguration()
WorkerConfiguration empty constructor for YAMLFactory
|
Modifier and Type | Method and Description |
---|---|
int |
getCapacity()
Return the capacity (number of parallel steps that can handle the worker)
|
ClassificationLevel |
getClassificationLevel() |
String |
getProcessingUrl()
Get the processingUrl
|
long |
getRegisterDelay()
Get the registerDelay
|
int |
getRegisterRetry()
Get the registerRetry
|
String |
getRegisterServerHost()
Get the registerServerHost
|
int |
getRegisterServerPort()
Get the registerServerPort
|
String |
getUrlMetadata()
Get the urlMetadata
|
String |
getUrlWorkspace()
Get the urlWorkspace
|
String |
getWorkerFamily()
Return the workerFamily name
|
WorkerConfiguration |
setCapacity(int capacity)
Set the capacity (number of parallel steps that can handle the worker)
|
WorkerConfiguration |
setClassificationLevel(ClassificationLevel classificationLevel) |
WorkerConfiguration |
setProcessingUrl(String processingUrl)
The processingUrl setter
|
WorkerConfiguration |
setRegisterDelay(long registerDelay)
The registerDelay setter
|
WorkerConfiguration |
setRegisterRetry(int registerRetry)
The registerRetry setter
|
WorkerConfiguration |
setRegisterServerHost(String registerServerHost)
The registerServerHost setter
|
WorkerConfiguration |
setRegisterServerPort(int registerServerPort)
The registerServerPort setter
|
WorkerConfiguration |
setUrlMetadata(String urlMetadata)
The urlMetadata setter
|
WorkerConfiguration |
setUrlWorkspace(String urlWorkspace)
The urlWorkspace setter
|
WorkerConfiguration |
setWorkerFamily(String workerFamily)
Set the workerFamily name of this worker (Default Value : DefaultWorker)
|
getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setJettyConfig, setTenantFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseUri, getBaseUrl, getStaticContent, setBaseUri, setBaseUrl, setStaticContent
public WorkerConfiguration()
public String getProcessingUrl()
public WorkerConfiguration setProcessingUrl(String processingUrl)
processingUrl
- the processingUrlpublic String getUrlMetadata()
public WorkerConfiguration setUrlMetadata(String urlMetadata)
urlMetadata
- the urlMetadatapublic String getUrlWorkspace()
public WorkerConfiguration setUrlWorkspace(String urlWorkspace)
urlWorkspace
- the urlWorkspacepublic String getRegisterServerHost()
public WorkerConfiguration setRegisterServerHost(String registerServerHost)
registerServerHost
- the registerServerHostpublic int getRegisterServerPort()
public WorkerConfiguration setRegisterServerPort(int registerServerPort)
registerServerPort
- the registerServerPortpublic long getRegisterDelay()
public WorkerConfiguration setRegisterDelay(long registerDelay)
registerDelay
- the registerDelaypublic int getRegisterRetry()
public WorkerConfiguration setRegisterRetry(int registerRetry)
registerRetry
- the registerRetrypublic int getCapacity()
public WorkerConfiguration setCapacity(int capacity)
capacity
- the capacity to setpublic String getWorkerFamily()
public WorkerConfiguration setWorkerFamily(String workerFamily)
workerFamily
- the worker family as Stringpublic ClassificationLevel getClassificationLevel()
public WorkerConfiguration setClassificationLevel(ClassificationLevel classificationLevel)
classificationLevel
- Copyright © 2018 Vitam. All rights reserved.