Uses of Class
org.apache.mesos.Log.Position

Packages that use Log.Position
org.apache.mesos   
 

Uses of Log.Position in org.apache.mesos
 

Fields in org.apache.mesos declared as Log.Position
 Log.Position Log.Entry.position
           
 

Methods in org.apache.mesos that return Log.Position
 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.Reader.beginning()
          Returns the beginning position of the log (might be out of date with respect to another replica).
 Log.Position Log.Reader.ending()
          Returns the ending position of the log (might be out of date with respect to another replica).
 Log.Position Log.position(byte[] identity)
          Returns a position based off of the bytes recovered from Position.identity().
 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 WriterFailedException will get thrown.
 

Methods in org.apache.mesos with parameters of type Log.Position
 int Log.Position.compareTo(Log.Position that)
           
 List<Log.Entry> Log.Reader.read(Log.Position from, Log.Position to, long timeout, TimeUnit unit)
          Attempts to read from the log between the specified positions (inclusive).
 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 WriterFailedException will get thrown.
 



Copyright © 2014 The Apache Software Foundation. All Rights Reserved.