@ThreadSafe public final class BlockWorkerFactory extends Object implements WorkerFactory
BlockWorker
instance.Constructor and Description |
---|
BlockWorkerFactory()
Constructs a new
BlockWorkerFactory . |
Modifier and Type | Method and Description |
---|---|
BlockWorker |
create(WorkerRegistry registry,
UfsManager ufsManager)
Factory method to create a new worker instance.
|
boolean |
isEnabled() |
public BlockWorkerFactory()
BlockWorkerFactory
.public boolean isEnabled()
isEnabled
in interface WorkerFactory
public BlockWorker create(WorkerRegistry registry, UfsManager ufsManager)
WorkerFactory
create
in interface WorkerFactory
registry
- the worker registryufsManager
- the UFS managerWorker
instanceCopyright © 2023. All Rights Reserved.