Class

kafka.utils

VerifiableProperties

Related Doc: package utils

Permalink

class VerifiableProperties extends Logging

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

Instance Constructors

  1. new VerifiableProperties()

    Permalink
  2. new VerifiableProperties(props: Properties)

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def containsKey(name: String): Boolean

    Permalink
  7. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  8. def debug(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  9. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  13. def error(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  14. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  15. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  16. def fatal(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  17. def fatal(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def getBoolean(name: String): Boolean

    Permalink
  20. def getBoolean(name: String, default: Boolean): Boolean

    Permalink

    Read a boolean value from the properties instance

    Read a boolean value from the properties instance

    name

    The property name

    default

    The default value to use if the property is not found

    returns

    the boolean value

  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getCompressionCodec(name: String, default: CompressionCodec): CompressionCodec

    Permalink

    Parse compression codec from a property list in either.

    Parse compression codec from a property list in either. Codecs may be specified as integers, or as strings. See kafka.message.CompressionCodec for more details.

    name

    The property name

    default

    Default compression codec

    returns

    compression codec

  23. def getDouble(name: String, default: Double): Double

    Permalink

    Get an optional argument as a double

    Get an optional argument as a double

    name

    The property name

    default

    The default value for the property if not present

  24. def getDouble(name: String): Double

    Permalink

    Get a required argument as a double

    Get a required argument as a double

    name

    The property name

    returns

    the value

    Exceptions thrown

    IllegalArgumentException If the given property is not present

  25. def getInt(name: String, default: Int): Int

    Permalink

    Read an integer from the properties instance

    Read an integer from the properties instance

    name

    The property name

    default

    The default value to use if the property is not found

    returns

    the integer value

  26. def getInt(name: String): Int

    Permalink

    Read a required integer property value or throw an exception if no such property is found

  27. def getIntInRange(name: String, default: Int, range: (Int, Int)): Int

    Permalink

    Read an integer from the properties instance.

    Read an integer from the properties instance. Throw an exception if the value is not in the given range (inclusive)

    name

    The property name

    default

    The default value to use if the property is not found

    range

    The range in which the value must fall (inclusive)

    returns

    the integer value

    Exceptions thrown

    IllegalArgumentException If the value is not in the given range

  28. def getIntInRange(name: String, range: (Int, Int)): Int

    Permalink
  29. def getLong(name: String, default: Long): Long

    Permalink

    Read an long from the properties instance

    Read an long from the properties instance

    name

    The property name

    default

    The default value to use if the property is not found

    returns

    the long value

  30. def getLong(name: String): Long

    Permalink

    Read a required long property value or throw an exception if no such property is found

  31. def getLongInRange(name: String, default: Long, range: (Long, Long)): Long

    Permalink

    Read an long from the properties instance.

    Read an long from the properties instance. Throw an exception if the value is not in the given range (inclusive)

    name

    The property name

    default

    The default value to use if the property is not found

    range

    The range in which the value must fall (inclusive)

    returns

    the long value

    Exceptions thrown

    IllegalArgumentException If the value is not in the given range

  32. def getMap(name: String, valid: (String) ⇒ Boolean = s => true): Map[String, String]

    Permalink

    Get a Map[String, String] from a property list in the form k1:v2, k2:v2, ...

  33. def getProperty(name: String): String

    Permalink
  34. def getShort(name: String, default: Short): Short

    Permalink
  35. def getShortInRange(name: String, default: Short, range: (Short, Short)): Short

    Permalink
  36. def getString(name: String): String

    Permalink

    Get a string property or throw and exception if no such property is defined.

  37. def getString(name: String, default: String): String

    Permalink

    Get a string property, or, if no such property is defined, return the given default value

  38. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  39. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  40. def info(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  41. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. var logIdent: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  44. lazy val logger: Logger

    Permalink
    Definition Classes
    Logging
  45. val loggerName: String

    Permalink
    Definition Classes
    Logging
  46. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  49. val props: Properties

    Permalink
  50. def swallow(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  51. def swallowDebug(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  52. def swallowError(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  53. def swallowInfo(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  54. def swallowTrace(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  55. def swallowWarn(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def toString(): String

    Permalink
    Definition Classes
    VerifiableProperties → AnyRef → Any
  58. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  59. def trace(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  60. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  61. def verify(): Unit

    Permalink
  62. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  66. def warn(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  67. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped