Class NodeAntiAffinity
- java.lang.Object
-
- uk.co.ractf.polaris.controller.scheduler.filter.NodeAntiAffinity
-
- All Implemented Interfaces:
FilterPlugin
,Plugin
public class NodeAntiAffinity extends java.lang.Object implements FilterPlugin
-
-
Constructor Summary
Constructors Constructor Description NodeAntiAffinity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterResult
filter(uk.co.ractf.polaris.api.task.Task task, uk.co.ractf.polaris.api.node.NodeInfo nodeInfo)
Can the task run on the node?java.lang.String
getName()
-
-
-
Method Detail
-
filter
public FilterResult filter(uk.co.ractf.polaris.api.task.Task task, uk.co.ractf.polaris.api.node.NodeInfo nodeInfo)
Description copied from interface:FilterPlugin
Can the task run on the node?- Specified by:
filter
in interfaceFilterPlugin
- Parameters:
task
- the tasknodeInfo
- the node- Returns:
- if the task can run
-
-