Class InetRecalculator
java.lang.Object
ru.bitel.bgbilling.kernel.task.server.bean.RunTask
ru.bitel.bgbilling.modules.inet.server.task.InetRecalculator
- All Implemented Interfaces:
Serializable
,Runnable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
calculateBeforeCurrentDay
(List<Integer> appIds, int currentDay) protected void
calculateCurrentDay
(List<Integer> appIds, int currentDay) protected void
calulatePastMonth
(List<Integer> appIds) protected void
void
protected void
startCalculation
(List<Integer> appIds) protected void
stopCalculation
(List<Integer> appIds) Methods inherited from class ru.bitel.bgbilling.kernel.task.server.bean.RunTask
getQueueId, getUniqueKeyParallel, getUniqueKeyQueue, removeMyselfFromTable, run, setQueueId
-
Field Details
-
moduleId
protected int moduleId -
month
-
email
-
-
Constructor Details
-
InetRecalculator
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in classRunTask
-
executeTask
protected void executeTask()- Specified by:
executeTask
in classRunTask
-
calulatePastMonth
protected void calulatePastMonth(List<Integer> appIds) throws InterruptedException, ExecutionException, ru.bitel.bgbilling.common.BGException - Throws:
InterruptedException
ExecutionException
ru.bitel.bgbilling.common.BGException
-
calculateCurrentDay
protected void calculateCurrentDay(List<Integer> appIds, int currentDay) throws InterruptedException, ExecutionException, ru.bitel.bgbilling.common.BGException - Throws:
InterruptedException
ExecutionException
ru.bitel.bgbilling.common.BGException
-
stopCalculation
protected void stopCalculation(List<Integer> appIds) throws InterruptedException, ExecutionException, ru.bitel.bgbilling.common.BGException - Throws:
InterruptedException
ExecutionException
ru.bitel.bgbilling.common.BGException
-
startCalculation
protected void startCalculation(List<Integer> appIds) throws InterruptedException, ExecutionException, ru.bitel.bgbilling.common.BGException - Throws:
InterruptedException
ExecutionException
ru.bitel.bgbilling.common.BGException
-
calculateBeforeCurrentDay
protected void calculateBeforeCurrentDay(List<Integer> appIds, int currentDay) throws InterruptedException, ExecutionException, ru.bitel.bgbilling.common.BGException - Throws:
InterruptedException
ExecutionException
ru.bitel.bgbilling.common.BGException
-
init
-