kafka.log

Log

object Log extends AnyRef

Helper functions for logs

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Log
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val CleanShutdownFile : String

    TODO: Get rid of CleanShutdownFile in 0.

    TODO: Get rid of CleanShutdownFile in 0.8.2

  7. val CleanedFileSuffix : String

    A temporary file that is being used for log cleaning

  8. val DeletedFileSuffix : String

    a file that is scheduled to be deleted

  9. val IndexFileSuffix : String

    an index file

  10. val LogFileSuffix : String

    a log file

  11. val SwapFileSuffix : String

    A temporary file used when swapping files into the log

  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def filenamePrefixFromOffset (offset: Long): String

    Make log segment file name from offset bytes.

    Make log segment file name from offset bytes. All this does is pad out the offset number with zeros so that ls sorts the files numerically.

    offset

    The offset to use in the file name

    returns

    The filename

  17. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. def indexFilename (dir: File, offset: Long): File

    Construct an index file name in the given dir using the given base offset

    Construct an index file name in the given dir using the given base offset

    dir

    The directory in which the log will reside

    offset

    The base offset of the log file

  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. def logFilename (dir: File, offset: Long): File

    Construct a log file name in the given dir with the given base offset

    Construct a log file name in the given dir with the given base offset

    dir

    The directory in which the log will reside

    offset

    The base offset of the log file

  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def parseTopicPartitionName (name: String): TopicAndPartition

    Parse the topic and partition out of the directory name of a log

  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

    Definition Classes
    AnyRef → Any
  29. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any