|
|
@@ -0,0 +1,21 @@
|
|
|
+package com.kingdee.eas.custom.beisen.synchronouspos.handler;
|
|
|
+
|
|
|
+public class ExecutorCountUtil {
|
|
|
+ private int count = 0;
|
|
|
+ private static ExecutorCountUtil examples = new ExecutorCountUtil();
|
|
|
+
|
|
|
+ public int getCount() {
|
|
|
+ return count;
|
|
|
+ }
|
|
|
+ public void CountClear() {
|
|
|
+ this.count=0;
|
|
|
+ }
|
|
|
+ public void countPlusPlus() {
|
|
|
+ this.count++;
|
|
|
+ }
|
|
|
+ public static ExecutorCountUtil getExamples() {
|
|
|
+ return examples;
|
|
|
+ }
|
|
|
+ private ExecutorCountUtil() {
|
|
|
+ }
|
|
|
+}
|