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,28 @@
package com.stackify.models;
public class Employee {
private String name;
private double salary;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getSalary() {
return salary;
}
public void setSalary(double salary) {
this.salary = salary;
}
public Employee(String name, double salary) {
super();
this.name = name;
this.salary = salary;
}
}