public class TimestampRolloverRule extends Object implements RolloverRule
| Constructor and Description |
|---|
TimestampRolloverRule() |
TimestampRolloverRule(TimestampQuantifier timestampQuantifier) |
| Modifier and Type | Method and Description |
|---|---|
TimestampQuantifier |
getTimestampQuantifier() |
void |
setTimestampQuantifier(TimestampQuantifier timestampQuantifier) |
boolean |
willRollover(long fileSize,
long lastModifiedTimeified,
long bytesToBeWritten) |
public TimestampRolloverRule()
public TimestampRolloverRule(TimestampQuantifier timestampQuantifier)
public TimestampQuantifier getTimestampQuantifier()
public void setTimestampQuantifier(TimestampQuantifier timestampQuantifier)
public boolean willRollover(long fileSize,
long lastModifiedTimeified,
long bytesToBeWritten)
willRollover in interface RolloverRuleCopyright © 2019. All rights reserved.