| Modifier and Type | Field and Description |
|---|---|
| protected ArchiveRemover | |
| protected long | |
| protected AtomicLong | |
| private static String | |
| protected Instant | |
| protected String | |
| protected boolean | |
| protected RollingCalendar | |
| protected boolean | |
| protected TimeBasedRollingPolicy |
| Access | Constructor and Description |
|---|---|
| public |
| archiveRemover | back to summary |
|---|---|
| protected ArchiveRemover archiveRemover | |
| artificialCurrentTime | back to summary |
|---|---|
| protected long artificialCurrentTime | |
| atomicNextCheck | back to summary |
|---|---|
| protected AtomicLong atomicNextCheck | |
| COLLIDING_DATE_FORMAT_URL | back to summary |
|---|---|
| private static String COLLIDING_DATE_FORMAT_URL | |
| dateInCurrentPeriod | back to summary |
|---|---|
| protected Instant dateInCurrentPeriod | |
| elapsedPeriodsFileName | back to summary |
|---|---|
| protected String elapsedPeriodsFileName | |
| errorFree | back to summary |
|---|---|
| protected boolean errorFree | |
| rc | back to summary |
|---|---|
| protected RollingCalendar rc | |
| started | back to summary |
|---|---|
| protected boolean started | |
| tbrp | back to summary |
|---|---|
| protected TimeBasedRollingPolicy<E> tbrp | |
| TimeBasedFileNamingAndTriggeringPolicyBase | back to summary |
|---|---|
| public TimeBasedFileNamingAndTriggeringPolicyBase() | |
| computeNextCheck | back to summary |
|---|---|
| protected long computeNextCheck(long timestamp) | |
| getArchiveRemover | back to summary |
|---|---|
| public ArchiveRemover getArchiveRemover() Implements ch. Doc from ch. Return the archive remover appropriate for this instance. | |
| getCurrentPeriodsFileNameWithoutCompressionSuffix | back to summary |
|---|---|
| public String getCurrentPeriodsFileNameWithoutCompressionSuffix() Return the current periods file name without the compression suffix. This value is equivalent to the active file name.
| |
| getCurrentTime | back to summary |
|---|---|
| public long getCurrentTime() Implements ch. Doc from ch. Return the current time which is usually the value returned by System.currentMillis(). However, for testing purposed this value may be different than the real time.
| |
| getElapsedPeriodsFileName | back to summary |
|---|---|
| public String getElapsedPeriodsFileName() Implements ch. Doc from ch. Return the file name for the elapsed periods file name. | |
| isErrorFree | back to summary |
|---|---|
| protected boolean isErrorFree() | |
| isStarted | back to summary |
|---|---|
| public boolean isStarted() Implements ch. | |
| setCurrentTime | back to summary |
|---|---|
| public void setCurrentTime(long timeInMillis) Implements ch. Doc from ch. Set the current time. Only unit tests should invoke this method. | |
| setDateInCurrentPeriod | back to summary |
|---|---|
| protected void setDateInCurrentPeriod(long timestamp) | |
| setTimeBasedRollingPolicy | back to summary |
|---|---|
| public void setTimeBasedRollingPolicy(TimeBasedRollingPolicy<E> _tbrp) Implements ch. Doc from ch. Set the host/parent
| |
| start | back to summary |
|---|---|
| public void start() Implements ch. | |
| stop | back to summary |
|---|---|
| public void stop() Implements ch. | |
| withErrors | back to summary |
|---|---|
| protected void withErrors() | |