Package org.jppf.node.throttling
Interface JPPFNodeThrottling
- All Known Implementing Classes:
MemoryThresholdThrottling
public interface JPPFNodeThrottling
Provides a callback to determine when a node accepts new jobs
- Since:
- 6.1
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsNewJobs(org.jppf.node.Node node) Determine whether the node accepts new jobs.
-
Method Details
-
acceptsNewJobs
boolean acceptsNewJobs(org.jppf.node.Node node) Determine whether the node accepts new jobs.- Parameters:
node- the node to which the throttling applies.- Returns:
trueif the node accepts new jobs,falseotherwise.
-