kafka.utils

VerifiableProperties

class VerifiableProperties extends Logging

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

Instance Constructors

  1. new VerifiableProperties()

  2. new VerifiableProperties(props: Properties)

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Logging
  20. def finalize(): Unit

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

  22. 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

  23. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  24. 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

  25. 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

  26. 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

  27. def getInt(name: String): Int

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

  28. 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

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

  30. 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

  31. def getLong(name: String): Long

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

  32. 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

  33. 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, ...

  34. def getProperty(name: String): String

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

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

  37. def getString(name: String): String

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

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

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

  39. def hashCode(): Int

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

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

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

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

    Definition Classes
    Any
  44. var logIdent: String

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

    Definition Classes
    Logging
  46. val loggerName: String

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

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

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

    Definition Classes
    AnyRef
  50. val props: Properties

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  58. def toString(): String

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

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

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

    Definition Classes
    Logging
  62. def verify(): Unit

  63. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any