Package org.cyclos.impl.messaging
Interface ErrorLogServiceLocal
-
- All Superinterfaces:
ErrorLogService,Service
- All Known Implementing Classes:
ErrorLogServiceImpl
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 entrylongdeleteOldErrorLogs()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(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
-
-