Class Machine.ActiveMemberPredicate
- java.lang.Object
-
- com.elastisys.scale.cloudpool.api.types.Machine.ActiveMemberPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<Machine>
- Enclosing class:
- Machine
public static class Machine.ActiveMemberPredicate extends java.lang.Object implements java.util.function.Predicate<Machine>
APredicatethat returnstruewhen passed aMachinethat is an active pool member -- it has been allocated from the underlying infrastructure (MachineState.REQUESTED,MachineState.PENDINGorMachineState.RUNNING) and is an active pool member (MembershipStatus.isActive()).
-
-
Constructor Summary
Constructors Constructor Description ActiveMemberPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(Machine machine)
-