Class ICMFilePollingConfiguration
-
- All Implemented Interfaces:
public class ICMFilePollingConfigurationPurpose of this class is to ensure the ICM is configured to use the com.intershop.beehive.file.internal.monitoring.PollingFileMonitoringManagerImpl instead of the com.intershop.beehive.file.internal.monitoring.FileMonitoringManagerImpl (default) to allow all the *.CheckSource properties to work. So if
icm.properties:does not contain the property
intershop.file.monitoring.pollingtheintershop.file.monitoring.pollingistruein ICMcontains the property
intershop.file.monitoring.pollingset tofalsetheintershop.file.monitoring.pollingisfalsein ICM (explicit developer decision) Furthermore the value of the propertyintershop.file.monitoring.pollInterval(polling interval in seconds) is transferred to the ICM as is to allow to set the polling interval.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classICMFilePollingConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static StringPROP_ENABLEDpublic final static StringPROP_INTERVALprivate final Function1<Unit, Boolean>isEnabledprivate final Function1<Unit, Duration>intervalpublic final static ICMFilePollingConfiguration.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ICMFilePollingConfiguration(Function1<Unit, Boolean> isEnabled, Function1<Unit, Duration> interval)
-
Method Summary
-
-
Method Detail
-
getInterval
final Function1<Unit, Duration> getInterval()
-
getInterval
final Duration getInterval()
-
-
-
-