Package com.nt.udc.log
Class PerformanceLogger
java.lang.Object
com.nt.udc.log.PerformanceLogger
-
Constructor Summary
ConstructorsConstructorDescriptionPerformanceLogger
(String type, String osaHome, String nodemgrIp, String nodemgrPort, int retention) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
cleanOldFiles
(String dir, DirectoryStream.Filter<Path> filter, int retainNum) void
setDailyMonthly
(int t) void
setRetentionPeriod
(int t)
-
Constructor Details
-
PerformanceLogger
-
-
Method Details
-
setDailyMonthly
public void setDailyMonthly(int t) -
setRetentionPeriod
public void setRetentionPeriod(int t) -
appendToFile
- Throws:
IOException
-
cleanOldFiles
-