Package com.illumon.iris.binarystore
Class RollingFileManagerWithDateColumnPartition
java.lang.Object
com.illumon.iris.binarystore.RollingFileManagerBase
com.illumon.iris.binarystore.RollingFileManagerWithDateColumnPartition
- All Implemented Interfaces:
ChannelManager
,ChannelManagerStandard
public class RollingFileManagerWithDateColumnPartition extends RollingFileManagerBase
Rolls on the hour, changes the filename base when the column partition changes.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.binarystore.RollingFileManagerBase
RollingFileManagerBase.ExistingFilePolicy
-
Field Summary
Fields inherited from class com.illumon.iris.binarystore.RollingFileManagerBase
baseDir, existingFilePolicy, expiration, FORCE_BEFORE_CLOSE, headerBuffer, log, writeChannel
-
Constructor Summary
Constructors Constructor Description RollingFileManagerWithDateColumnPartition(com.fishlib.io.logger.Logger log, String baseDirName, String namespace, String tableName, TableIdentifier.NamespaceSet namespaceSet, String internalPartition, ByteBuffer headerBuffer, RollingFileManagerBase.ExistingFilePolicy existingFilePolicy, ZoneId zoneId)
-
Method Summary
Modifier and Type Method Description protected String
makeFilename(String value)
Construct the complete filename using the changing part passed in.Methods inherited from class com.illumon.iris.binarystore.RollingFileManagerBase
close, flush, getChannel, initChannel, isChannelValid, reopenChannel, writeHeader
-
Constructor Details
-
RollingFileManagerWithDateColumnPartition
public RollingFileManagerWithDateColumnPartition(@NotNull com.fishlib.io.logger.Logger log, @NotNull String baseDirName, @NotNull String namespace, @NotNull String tableName, @NotNull TableIdentifier.NamespaceSet namespaceSet, @NotNull String internalPartition, @NotNull ByteBuffer headerBuffer, @NotNull RollingFileManagerBase.ExistingFilePolicy existingFilePolicy, @NotNull ZoneId zoneId)
-
-
Method Details
-
makeFilename
Description copied from class:RollingFileManagerBase
Construct the complete filename using the changing part passed in.- Overrides:
makeFilename
in classRollingFileManagerBase
- Parameters:
value
- the changing portion of the filename- Returns:
- the filename, possibly combining other data with the value
-