| Package | Description |
|---|---|
| org.apache.mesos |
| Modifier and Type | Method and Description |
|---|---|
Log.Position |
Log.Writer.append(byte[] data,
long timeout,
TimeUnit unit)
Attempts to append to the log with the specified data returning
the new end position of the log if successful.
|
Log.Position |
Log.Writer.truncate(Log.Position to,
long timeout,
TimeUnit unit)
Attempts to truncate the log (from the beginning to the
specified position exclusive) If the position is invalid, an
Log.WriterFailedException will get thrown. |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.