This project has retired. For details please refer to its Attic page.
Log.Entry
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class Log.Entry

  • Enclosing class:
    Log


    public static class Log.Entry
    extends java.lang.Object
    Represents an opaque data entry in the Log with a Log.Position.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      byte[] data
      The data at the given position.
      Log.Position position
      The position of this entry.
    • Constructor Summary

      Constructors
      Constructor and Description
      Entry (Log.Position position, byte[] data)
      Creates a log entry.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • data

        public final byte[] data
        The data at the given position.
    • Constructor Detail

      • Entry

        public Entry(Log.Position position,
         byte[] data)
        Creates a log entry.

        Entries are typically only created by the log implementation. Log users should only ever need to call this constructor in unit tests.

        Parameters:
        position - The unique position of this entry within the log.
        data - The content stored in this entry.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /