kafka.utils

VerifiableProperties

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VerifiableProperties()

  2. new VerifiableProperties(props: Properties)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging
  18. def finalize(): Unit

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

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

    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[_]

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

    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

    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

    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

    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

    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

    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

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

    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

    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

    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]

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

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

  33. def getProperty(name: String): String

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

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

  36. def getString(name: String): String

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

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

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

  38. def hashCode(): Int

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

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

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

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

    Definition Classes
    Any
  43. var logIdent: String

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

    Definition Classes
    Logging
  45. val loggerName: String

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

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

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

    Definition Classes
    AnyRef
  49. val props: Properties

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  57. def toString(): String

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

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

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

    Definition Classes
    Logging
  61. def verify(): Unit

  62. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped