public static class TimeBasedTriggeringPolicy.Builder extends Object implements Builder<TimeBasedTriggeringPolicy>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TimeBasedTriggeringPolicy |
build()
Builds the object after all configuration has been set.
|
int |
getInterval() |
int |
getMaxRandomDelay() |
boolean |
isModulate() |
TimeBasedTriggeringPolicy.Builder |
withInterval(int interval) |
TimeBasedTriggeringPolicy.Builder |
withMaxRandomDelay(int maxRandomDelay) |
TimeBasedTriggeringPolicy.Builder |
withModulate(boolean modulate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorPrefix, isValid
public TimeBasedTriggeringPolicy build()
Builder
build
in interface Builder<TimeBasedTriggeringPolicy>
public int getInterval()
public boolean isModulate()
public int getMaxRandomDelay()
public TimeBasedTriggeringPolicy.Builder withInterval(int interval)
public TimeBasedTriggeringPolicy.Builder withModulate(boolean modulate)
public TimeBasedTriggeringPolicy.Builder withMaxRandomDelay(int maxRandomDelay)
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.