public interface WorkerConfigurer extends DatasetConfigurer, ProgramConfigurer, PluginConfigurer
Worker
.Modifier and Type | Method and Description |
---|---|
void |
setInstances(int instances)
Sets the number of instances needed for the
Worker . |
void |
setResources(Resources resources)
Sets the resources requirements for the the
Worker . |
addDatasetModule, addDatasetType, createDataset, createDataset, createDataset, createDataset
setDescription, setName, setProperties
isFeatureEnabled
evaluateMacros, evaluateMacros, usePlugin, usePlugin, usePluginClass, usePluginClass
void setResources(Resources resources)
Worker
.resources
- the requirementsvoid setInstances(int instances)
Worker
.instances
- number of instances, must be > 0Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.