public static void main(String[] args) throws InterruptedException {
Test3 a = new Test3("1", "", "1");
Test3 b = new Test3("1", "", "2");
Test3 c = new Test3("3", "", "3");
Test3 d = new Test3("4", "", "4");
System.out.println("begin:" + (System.currentTimeMillis() / 1000));
a.start();
b.start();
c.start();
d.start();
}
public void run() {
testDo.doSome(key, value);
}
}
class TestDo3 {
private TestDo3() {}
private static TestDo3 _instance = new TestDo3();
public static TestDo3 getInstance() {
return _instance;
}