public interface LogManager
Logs against a particular Log implementation.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the log manager and all open logs (if they haven't already been explicitly closed)
|
Log |
openLog(String name,
ReadMarker readMarker)
Opens a log for the given name and starts reading from it at the given readMarker once a
MessageReader
is registered. |
Log openLog(String name, ReadMarker readMarker) throws StorageException
MessageReader
is registered.
If a log with the given name already exists, the existing log is returned and the readMarker is ignored.name - Name of the log to be openedreadMarker - Indicates where to start reading from the log once message readers are registeredStorageExceptionvoid close()
throws StorageException
StorageExceptionCopyright © 2012–2014. All rights reserved.