Package org.opends.server.loggers
Class TimeStampNaming
- java.lang.Object
 - 
- org.opends.server.loggers.TimeStampNaming
 
 
- 
public final class TimeStampNaming extends Object
A file name policy that names files suffixed by the time it was created. 
- 
- 
Constructor Summary
Constructors Constructor Description TimeStampNaming(Path file)Create a new instance of the TimeStampNaming policy. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathgetInitialName()PathgetNextName()Path[]listFiles() 
 - 
 
- 
- 
Constructor Detail
- 
TimeStampNaming
public TimeStampNaming(Path file)
Create a new instance of the TimeStampNaming policy. Files will be created with the names in the prefix.utctime format.- Parameters:
 file- the file to use as the naming prefix.
 
 - 
 
- 
Method Detail
- 
getInitialName
public Path getInitialName()
 
- 
getNextName
public Path getNextName()
 
- 
listFiles
public Path[] listFiles() throws IOException
- Throws:
 IOException
 
 - 
 
 -