- java.lang.Object
-
- ch.qos.logback.core.util.FixedIntervalInvocationGate
-
- ch.qos.logback.core.util.SimpleInvocationGate
-
- All Implemented Interfaces:
InvocationGate
@Deprecated(since="1.6.3", forRemoval=true) public class SimpleInvocationGate extends FixedIntervalInvocationGate
Deprecated, for removal: This API element is subject to removal in a future version.UseFixedIntervalInvocationGateinstead.Deprecated alias forFixedIntervalInvocationGate.Kept for binary and source compatibility. New code should use
FixedIntervalInvocationGate.- Since:
- 1.3.6/1.4.6
- Author:
- Ceki Gülcü
- See Also:
FixedIntervalInvocationGate
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.util.FixedIntervalInvocationGate
DEFAULT_INCREMENT
-
Fields inherited from interface ch.qos.logback.core.util.InvocationGate
TIME_UNAVAILABLE
-
-
Constructor Summary
Constructors Constructor Description SimpleInvocationGate()Deprecated, for removal: This API element is subject to removal in a future version.Creates a gate withFixedIntervalInvocationGate.DEFAULT_INCREMENT.SimpleInvocationGate(Duration anIncrement)Deprecated, for removal: This API element is subject to removal in a future version.Creates a gate that allows at most one successful passage peranIncrementperiod.
-
-
-
Constructor Detail
-
SimpleInvocationGate
public SimpleInvocationGate()
Deprecated, for removal: This API element is subject to removal in a future version.Creates a gate withFixedIntervalInvocationGate.DEFAULT_INCREMENT.
-
SimpleInvocationGate
public SimpleInvocationGate(Duration anIncrement)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a gate that allows at most one successful passage peranIncrementperiod.- Parameters:
anIncrement- duration between allowed invocations; must not benull
-
-