com.transferwise.tasks.helpers.IErrorLoggingThrottler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-tasks-core Show documentation
Show all versions of tw-tasks-core Show documentation
Transferwise Tasks Executor - Fire and forget until Alert.
The newest version!
package com.transferwise.tasks.helpers;
/**
* Some errors can be very spammy on infrastructure failure. However they can also occur on misconfigurations and application owner would want to see,
* that something is wrong. The compromise would be to log some errors down, but have them throttled.
*/
public interface IErrorLoggingThrottler {
boolean canLogError();
}