Package org.eblocker.server.common.squid
Class SquidWarningService
java.lang.Object
org.eblocker.server.common.squid.SquidWarningService
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSquidWarningService(long backlogMaxAgeInDays, String ignoredErrors, long updateTaskInitialDelay, long updateTaskFixedRate, long updateTaskMaxRetries, java.time.Clock clock, DataSource dataSource, DeviceService deviceService, ScheduledExecutorService executorService, SquidCacheLogReader cacheLogReader, SquidConfigController squidConfigController) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclearFailedConnections(Device device) voidinit()booleanvoidsetRecordingFailedConnectionsEnabled(boolean enabled)
-
Constructor Details
-
SquidWarningService
@Inject public SquidWarningService(long backlogMaxAgeInDays, String ignoredErrors, long updateTaskInitialDelay, long updateTaskFixedRate, long updateTaskMaxRetries, java.time.Clock clock, DataSource dataSource, DeviceService deviceService, ScheduledExecutorService executorService, SquidCacheLogReader cacheLogReader, SquidConfigController squidConfigController)
-
-
Method Details
-
init
- Throws:
IOException
-
addListener
-
isEnabled
public boolean isEnabled() -
clearFailedConnections
public void clearFailedConnections() -
clearFailedConnections
-
setRecordingFailedConnectionsEnabled
- Throws:
IOException
-
updatedFailedConnections
-