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: 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[java.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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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(): Class[_]

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

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

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

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

  28. def getInt(name: String): Int

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

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

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

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

  32. def getLong(name: String): Long

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

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

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

  35. def getProperty(name: String): String

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

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

  38. def getString(name: String): String

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

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

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

  40. def hashCode(): Int

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

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

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

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

    Definition Classes
    Any
  45. var logIdent: String

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

    Definition Classes
    Logging
  47. val loggerName: String

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

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

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

    Definition Classes
    AnyRef
  51. val props: Properties

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  59. def toString(): String

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

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

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

    Definition Classes
    Logging
  63. def verify(): Unit

  64. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped