Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface heavyLoad {
- void compute();
- default boolean reschedule() {
- return false;
- }
- default boolean computeWithDelay(int conter) {
- return false;
- }
- default long getMilliPerTick() {
- return 5;
- }
- default long rescheduleMaxRunTime() {
- return 0;
- }
- }
Add Comment
Please, Sign In to add comment