Package org.jobrunr.server.configuration
Class FixedSizeBackgroundJobServerWorkerPolicy
java.lang.Object
org.jobrunr.server.configuration.FixedSizeBackgroundJobServerWorkerPolicy
- All Implemented Interfaces:
BackgroundJobServerWorkerPolicy
public class FixedSizeBackgroundJobServerWorkerPolicy
extends Object
implements BackgroundJobServerWorkerPolicy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoWorkDistributionStrategy
(BackgroundJobServer backgroundJobServer)
-
Constructor Details
-
FixedSizeBackgroundJobServerWorkerPolicy
public FixedSizeBackgroundJobServerWorkerPolicy(int workerCount)
-
-
Method Details
-
toWorkDistributionStrategy
- Specified by:
toWorkDistributionStrategy
in interfaceBackgroundJobServerWorkerPolicy
-