Class PeriodicErrorManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.admin.errorlog.server.bean.PeriodicErrorManager
public class PeriodicErrorManager
extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorToList
(String errorSubj, String errorText) void
addErrorToList
(String errorSubj, String errorText, Exception ex) boolean
deleteErrorsByIds
(List<Integer> ids) void
deleteErrorsByMarker
(String marker, Date recalcTime) int
int
getErrorCount
(Date month) void
getErrors
(SearchResult<PeriodicProcessErrorMessage> searchResult, Date month, String contains) void
initErrorMessage
(int mid, String moduleName, String marker, Date calcDate) boolean
void
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
Field Details
-
MAX_ERROR_PARAM
-
-
Constructor Details
-
PeriodicErrorManager
-
-
Method Details
-
initErrorMessage
-
isCapReached
public boolean isCapReached() -
addErrorToList
-
addErrorToList
-
getCounter
public int getCounter() -
processErrors
public void processErrors() -
deleteErrorsByMarker
- Throws:
Exception
-
getErrors
public void getErrors(SearchResult<PeriodicProcessErrorMessage> searchResult, Date month, String contains) -
deleteErrorsByIds
- Throws:
Exception
-
getErrorCount
- Throws:
Exception
-