Class InactiveCpuTask
java.lang.Object
br.com.objectos.testing.concurrent.InactiveCpuTask
- All Implemented Interfaces:
CpuTask
A
CpuTask instance that is never active.- Since:
- 2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidThrows anIllegalStateException.final booleanisActive()Returnsfalsealways.
-
Constructor Details
-
InactiveCpuTask
public InactiveCpuTask()Creates a new instance.
-
-
Method Details
-
executeOne
public final void executeOne()Throws anIllegalStateException.- Specified by:
executeOnein interfaceCpuTask- Throws:
IllegalStateException- always
-
isActive
public final boolean isActive()Returnsfalsealways.
-