public class ChronicleRetentionDuration extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DAY_ROLLING_PERIOD |
static ChronicleRetentionDuration |
DISABLE |
protected static String |
HOUR_ROLLING_PERIOD |
protected static String |
MINUTE_ROLLING_PERIOD |
protected String |
retention |
protected int |
retentionCycles |
protected net.openhft.chronicle.queue.RollCycle |
rollCycle |
protected static String |
SECOND_ROLLING_PERIOD |
Constructor and Description |
---|
ChronicleRetentionDuration(String retention) |
Modifier and Type | Method and Description |
---|---|
protected int |
decodeRetentionCycles(String retentionDuration) |
protected net.openhft.chronicle.queue.RollCycle |
decodeRollCycle(String retentionDuration) |
boolean |
disable() |
String |
getRetention() |
int |
getRetentionCycles() |
net.openhft.chronicle.queue.RollCycle |
getRollCycle() |
String |
toString() |
protected static final String SECOND_ROLLING_PERIOD
protected static final String MINUTE_ROLLING_PERIOD
protected static final String HOUR_ROLLING_PERIOD
protected static final String DAY_ROLLING_PERIOD
protected final net.openhft.chronicle.queue.RollCycle rollCycle
protected final int retentionCycles
public static final ChronicleRetentionDuration DISABLE
public ChronicleRetentionDuration(String retention)
public boolean disable()
public net.openhft.chronicle.queue.RollCycle getRollCycle()
public String getRetention()
public int getRetentionCycles()
protected net.openhft.chronicle.queue.RollCycle decodeRollCycle(String retentionDuration)
protected int decodeRetentionCycles(String retentionDuration)
Copyright © 2018 Nuxeo. All rights reserved.