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 |
getArchiveUnitProfileCacheMaxEntries() |
int |
getArchiveUnitProfileCacheTimeoutInSeconds() |
int |
getCapacity()
Return the capacity (number of parallel steps that can handle the worker)
|
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
|
int |
getSchemaValidatorCacheMaxEntries() |
int |
getSchemaValidatorCacheTimeoutInSeconds() |
String |
getUrlMetadata()
Get the urlMetadata
|
String |
getUrlWorkspace()
Get the urlWorkspace
|
String |
getWorkerFamily()
Return the workerFamily name
|
WorkerConfiguration |
setArchiveUnitProfileCacheMaxEntries(int archiveUnitProfileCacheMaxEntries) |
WorkerConfiguration |
setArchiveUnitProfileCacheTimeoutInSeconds(int archiveUnitProfileCacheTimeoutInSeconds) |
WorkerConfiguration |
setCapacity(int capacity)
Set the capacity (number of parallel steps that can handle the worker)
|
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 |
setSchemaValidatorCacheMaxEntries(int schemaValidatorCacheMaxEntries) |
WorkerConfiguration |
setSchemaValidatorCacheTimeoutInSeconds(int schemaValidatorCacheTimeoutInSeconds) |
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)
|
getAdminBasicAuth, getJettyConfig, isAuthentication, isEnableSession, isEnableXsrFilter, isTenantFilter, setAdminBasicAuth, setAuthentication, setEnableSession, setEnableXsrFilter, setJettyConfig, setTenantFilterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseUri, getBaseUrl, getStaticContent, setBaseUri, setBaseUrl, setStaticContentpublic 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 int getArchiveUnitProfileCacheMaxEntries()
public WorkerConfiguration setArchiveUnitProfileCacheMaxEntries(int archiveUnitProfileCacheMaxEntries)
public int getArchiveUnitProfileCacheTimeoutInSeconds()
public WorkerConfiguration setArchiveUnitProfileCacheTimeoutInSeconds(int archiveUnitProfileCacheTimeoutInSeconds)
public int getSchemaValidatorCacheMaxEntries()
public WorkerConfiguration setSchemaValidatorCacheMaxEntries(int schemaValidatorCacheMaxEntries)
public int getSchemaValidatorCacheTimeoutInSeconds()
public WorkerConfiguration setSchemaValidatorCacheTimeoutInSeconds(int schemaValidatorCacheTimeoutInSeconds)
Copyright © 2020 Vitam. All rights reserved.