summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java16
-rw-r--r--ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java8
2 files changed, 12 insertions, 12 deletions
diff --git a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java
index f53a5ed..d3ced48 100644
--- a/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java
+++ b/ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java
@@ -29,14 +29,14 @@ public class CollectMsgReceiverThread extends DriverThread {
private TaskThreadService taskService;
- private int thread_max_num = 100;
+ private int threadMaxNum = 100;
@Override
public void dispose() {
collectChannel = MessageChannelFactory.getMessageChannel(Constant.COLLECT_CHANNEL_KEY);
- taskService = TaskThreadService.getInstance(thread_max_num);
+ taskService = TaskThreadService.getInstance(threadMaxNum);
taskService.start();
while (isRun()) {
@@ -71,18 +71,18 @@ public class CollectMsgReceiverThread extends DriverThread {
/**
- * @return the thread_max_num
+ * @return the threadMaxNum
*/
- public int getThread_max_num() {
- return thread_max_num;
+ public int getThreadMaxNum() {
+ return threadMaxNum;
}
/**
- * @param thread_max_num the thread_max_num to set
+ * @param threadMaxNum the threadMaxNum to set
*/
- public void setThread_max_num(int thread_max_num) {
- this.thread_max_num = thread_max_num;
+ public void setThreadMaxNum(int threadMaxNum) {
+ this.threadMaxNum = threadMaxNum;
}
diff --git a/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java b/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java
index c836cf6..a120021 100644
--- a/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java
+++ b/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java
@@ -46,8 +46,8 @@ public class CollectMsgReceiverThreadTest {
col.setRun(true);
col.dispose();
col.getTaskService().stopTask();
- col.getThread_max_num();
- col.setThread_max_num(1);
+ col.getThreadMaxNum();
+ col.setThreadMaxNum(1);
}
@@ -67,8 +67,8 @@ public class CollectMsgReceiverThreadTest {
col.setRun(true);
col.dispose();
col.getTaskService().stopTask();
- col.getThread_max_num();
- col.setThread_max_num(1);
+ col.getThreadMaxNum();
+ col.setThreadMaxNum(1);
}
}