Package com.jibi.service
Class BusyService
java.lang.Object
com.jibi.service.BusyService
The type Busy service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunInAllProcessors(int percentage, int seconds) Run in all processors.voidrunInSingleProcessor(int percentage, int seconds) Run in single processor.
-
Constructor Details
-
BusyService
public BusyService()
-
-
Method Details
-
runInAllProcessors
public void runInAllProcessors(int percentage, int seconds) Run in all processors.- Parameters:
percentage- the percentageseconds- the seconds
-
runInSingleProcessor
public void runInSingleProcessor(int percentage, int seconds) Run in single processor.- Parameters:
percentage- the percentageseconds- the seconds
-