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.
|
closevoid writeToEvaluatorLog(String formattedEntry) throws IOException
formattedEntry - The formatted entry (entry with evaluator ID and addition/removal information)IOExceptionCloseableIterable<String> readFromEvaluatorLog() throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.