public interface DFSEvaluatorLogReaderWriter extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
CloseableIterable<String> |
readFromEvaluatorLog()
Reads a formatted entry (addition or removal) from the DFS evaluator log.
|
void |
writeToEvaluatorLog(String formattedEntry)
Writes a formatted entry (addition or removal) for an Evaluator ID into the DFS evaluator log.
|
close
void writeToEvaluatorLog(String formattedEntry) throws IOException
formattedEntry
- The formatted entry (entry with evaluator ID and addition/removal information)IOException
CloseableIterable<String> readFromEvaluatorLog() throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.