thread pools examples (#2400)

* thread pools examples

* add logs
This commit is contained in:
lor6
2017-08-20 11:20:45 +03:00
committed by Eugen
parent a0198e143e
commit a02e758d70
5 changed files with 231 additions and 0 deletions
@@ -0,0 +1,9 @@
package com.stackify.services;
import com.stackify.models.Employee;
public class EmployeeService {
public double calculateBonus(Employee employee) {
return 0.1 * employee.getSalary();
}
}