|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.util.FixedDelay
public class FixedDelay
A default DelayStrategy
that implements a simple fixed delay.
Constructor Summary | |
---|---|
FixedDelay(int delay)
Initialize a new FixedDelay with fixed delay value given by delay
parameter. |
|
FixedDelay(int initialDelay,
int subsequentDelay)
Initialize a new FixedDelay with a given initialDelay and
subsequentDelay . |
Method Summary | |
---|---|
int |
nextDelay()
The value computed by this DelayStrategy for the next delay. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedDelay(int initialDelay, int subsequentDelay)
FixedDelay
with a given initialDelay
and
subsequentDelay
.
initialDelay
- value for the initial delaysubsequentDelay
- value for all other delayspublic FixedDelay(int delay)
FixedDelay
with fixed delay value given by delay
parameter.
delay
- value for all delaysMethod Detail |
---|
public int nextDelay()
DelayStrategy
for the next delay.
nextDelay
in interface DelayStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |