Package org.cyclos.impl.messaging
Interface ErrorLogServiceLocal
-
- All Superinterfaces:
ErrorLogService,Service
public interface ErrorLogServiceLocal extends ErrorLogService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegercountErrors(Date since)Counts the application errors since the given time.Longcreate(String methodName, String paremetersAsJson, String stackTrace, Channel channel, BasicUser user)Create new error log entryLongcreate(ErrorLogType type, String methodName, String stackTrace)Creates a new log entry related to a task (service / background / recurring)longdeleteOldErrorLogs()Deletes the old error logs according to the global configuration parameters-
Methods inherited from interface org.cyclos.services.messaging.ErrorLogService
getSearchData, load, remove, removeAll, search
-
-
-
-
Method Detail
-
countErrors
Integer countErrors(Date since)
Counts the application errors since the given time. If time is null, counts all errors. Only non-removed errors are counted.
-
create
Long create(ErrorLogType type, String methodName, String stackTrace)
Creates a new log entry related to a task (service / background / recurring)
-
create
Long create(String methodName, String paremetersAsJson, String stackTrace, Channel channel, BasicUser user)
Create new error log entry
-
deleteOldErrorLogs
long deleteOldErrorLogs()
Deletes the old error logs according to the global configuration parameters
-
-