|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.model.versioning.impl.persistent.FileBasedOperationIterable
public class FileBasedOperationIterable
Enables to iterate through all operations that are saved within an underlying
operations file.
NOTE: Callers must call close
when they are finished.
Constructor Summary | |
---|---|
FileBasedOperationIterable(String operationsFilePath,
Direction direction)
Constructor. |
Method Summary | |
---|---|
void |
close()
Closes this Iterable . |
Iterable<AbstractOperation> |
iterable()
Returns an Iterable that can be iterated over. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBasedOperationIterable(String operationsFilePath, Direction direction)
operationsFilePath
- the absolute path to the underlying operations filedirection
- the read Direction
Method Detail |
---|
public Iterable<AbstractOperation> iterable()
Iterable
that can be iterated over.
iterable
in interface ESCloseableIterable<AbstractOperation>
Iterable
to iterate overIterable.iterator()
public void close()
Iterable
.
close
in interface ESCloseableIterable<AbstractOperation>
ESCloseableIterable.close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |