Package fr.gouv.vitam.processing.distributor.core

# Class WorkerFamilyManager

java.lang.Object
fr.gouv.vitam.processing.distributor.core.WorkerFamilyManager

public class WorkerFamilyManager extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WorkerFamilyManager(String family, int queueSize)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Executor`
  `getExecutor(boolean isHighPriorityTask)`
  `String`
  `getFamily()`
  `Map<String,WorkerExecutor>`
  `getWorkers()`
  `void`
  `registerWorker(WorkerBean workerBean)`
  `void`
  `unregisterWorker(String workerId)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WorkerFamilyManager

    public WorkerFamilyManager(String family, int queueSize)

- ## Method Details

  - ### registerWorker

    public void registerWorker(WorkerBean workerBean)

  - ### unregisterWorker

    public void unregisterWorker(String workerId)
    Parameters:
      `workerId` - the id of worker to unregister

  - ### getExecutor

    public Executor getExecutor(boolean isHighPriorityTask)

  - ### getWorkers

    public Map<String,WorkerExecutor> getWorkers()

  - ### getFamily

    public String getFamily()