Class SimpleInvocationGate
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.
Deprecated alias for
FixedIntervalInvocationGate.
Kept for binary and source compatibility. New code should use
FixedIntervalInvocationGate.
- Since:
- 1.3.6/1.4.6
- Author:
- Ceki Gülcü
- See Also:
-
Field Summary
Fields inherited from class FixedIntervalInvocationGate
DEFAULT_INCREMENTFields inherited from interface InvocationGate
TIME_UNAVAILABLE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, 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. -
Method Summary
Methods inherited from class FixedIntervalInvocationGate
isTooSoon
-
Constructor Details
-
SimpleInvocationGate
public SimpleInvocationGate()Deprecated, for removal: This API element is subject to removal in a future version.Creates a gate withFixedIntervalInvocationGate.DEFAULT_INCREMENT. -
SimpleInvocationGate
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
-
FixedIntervalInvocationGateinstead.