Package org.apache.spark.storage
Interface LogBlockIdGenerator
public interface LogBlockIdGenerator
LogBlockIdGenerator is responsible for generating unique LogBlockIds for log blocks.
-
Method Summary
Modifier and TypeMethodDescriptiongenUniqueBlockId(long lastLogTime, String executorId) scala.Enumeration.ValuenextBlockId(long lastLogTime, String executorId) Generates a new LogBlockId based on the last log time and executor ID.
-
Method Details
-
genUniqueBlockId
-
logBlockType
scala.Enumeration.Value logBlockType() -
nextBlockId
Generates a new LogBlockId based on the last log time and executor ID. Make sure that the generated LogBlockId has the same log block type as this generator.- Parameters:
lastLogTime- The timestamp of the last log entry.executorId- The ID of the executor generating the log block.- Returns:
- (undocumented)
-