@Test public void testSetMaxAge() throws Throwable { DailyLogListener dailyLogListener = new DailyLogListener(); long maxAge = 7*24*3600*1000; dailyLogListener.setMaxAge(maxAge); assertEquals(maxAge, dailyLogListener.getMaxAge(), "dailyLogListener.getMaxAge()"); }
public void setMaxAge(long maxAge) { this.maxAge = maxAge; }
DailyLogListener extends RotateLogListener { public void setMaxAge(long maxAge) { this.maxAge = maxAge; } }
DailyLogListener extends RotateLogListener { public void setMaxAge(long maxAge) { this.maxAge = maxAge; } DailyLogListener(); }
DailyLogListener extends RotateLogListener { public void setMaxAge(long maxAge) { this.maxAge = maxAge; } DailyLogListener(); void setConfiguration(Configuration cfg); void deleteOldLogs(); String getSuffix(); void setSuffix(String suffix); String getPrefix(); void setPrefix(String prefix); int getRotateCount(); void setRotateCount(int rotateCount); DateFormat getDateFmt(); void setDateFmt(DateFormat dateFmt); String getLastDate(); void setLastDate(String lastDate); String getCompressedSuffix(); void setCompressedSuffix(String compressedSuffix); long getMaxAge(); void setMaxAge(long maxAge); String getDeleteRegex(); void setDeleteRegex(String deleteRegex); int getCompressionFormat(); void setCompressionFormat(int compressionFormat); int getCompressionBufferSize(); void setCompressionBufferSize(int compressionBufferSize); }
DailyLogListener extends RotateLogListener { public void setMaxAge(long maxAge) { this.maxAge = maxAge; } DailyLogListener(); void setConfiguration(Configuration cfg); void deleteOldLogs(); String getSuffix(); void setSuffix(String suffix); String getPrefix(); void setPrefix(String prefix); int getRotateCount(); void setRotateCount(int rotateCount); DateFormat getDateFmt(); void setDateFmt(DateFormat dateFmt); String getLastDate(); void setLastDate(String lastDate); String getCompressedSuffix(); void setCompressedSuffix(String compressedSuffix); long getMaxAge(); void setMaxAge(long maxAge); String getDeleteRegex(); void setDeleteRegex(String deleteRegex); int getCompressionFormat(); void setCompressionFormat(int compressionFormat); int getCompressionBufferSize(); void setCompressionBufferSize(int compressionBufferSize);  }