Package cz.o2.proxima.direct.io.bulkfs
Class DefaultNamingConventionFactory
- java.lang.Object
-
- cz.o2.proxima.direct.io.bulkfs.DefaultNamingConventionFactory
-
- All Implemented Interfaces:
NamingConventionFactory
,java.io.Serializable
public class DefaultNamingConventionFactory extends java.lang.Object implements NamingConventionFactory
Factory creates default convention for naming files.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultNamingConventionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamingConvention
create(java.lang.String cfgPrefix, java.util.Map<java.lang.String,java.lang.Object> cfg, java.time.Duration rollTimePeriod, java.lang.String prefix, java.lang.String suffix)
CreateNamingConvention
that is used withFileFormat
.
-
-
-
Method Detail
-
create
public NamingConvention create(java.lang.String cfgPrefix, java.util.Map<java.lang.String,java.lang.Object> cfg, java.time.Duration rollTimePeriod, java.lang.String prefix, java.lang.String suffix)
Description copied from interface:NamingConventionFactory
CreateNamingConvention
that is used withFileFormat
.- Specified by:
create
in interfaceNamingConventionFactory
- Parameters:
cfgPrefix
- configuration prefixcfg
- configurationrollTimePeriod
- time rolling intervalprefix
- prefix of all names generatedsuffix
- suffix of filenames- Returns:
- naming convention with given settings
-
-