Object/Class

kafka.log

Log

Related Docs: class Log | package log

Permalink

object Log

Helper functions for logs

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val CleanShutdownFile: String

    Permalink

    TODO: Get rid of CleanShutdownFile in 0.8.2

  5. val CleanedFileSuffix: String

    Permalink

    A temporary file that is being used for log cleaning

  6. val DeletedFileSuffix: String

    Permalink

    a file that is scheduled to be deleted

  7. val IndexFileSuffix: String

    Permalink

    an index file

  8. val LogFileSuffix: String

    Permalink

    a log file

  9. val SwapFileSuffix: String

    Permalink

    A temporary file used when swapping files into the log

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

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

    Permalink

    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

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Permalink

    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

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def logFilename(dir: File, offset: Long): File

    Permalink

    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

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def parseTopicPartitionName(dir: File): TopicAndPartition

    Permalink

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

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def throwException(dir: File): Unit

    Permalink
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped