Package org.apache.spark.storage
Interface LogBlockIdGenerator
public interface LogBlockIdGenerator
LogBlockIdGenerator is responsible for generating unique LogBlockIds for log blocks.
- 
Method SummaryModifier 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
- 
logBlockTypescala.Enumeration.Value logBlockType()
- 
nextBlockIdGenerates 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)
 
 
-