org.apache.gearpump.cluster

UserConfig

Related Docs: object UserConfig | package cluster

final class UserConfig extends Serializable

Immutable configuration

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UserConfig
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UserConfig(_config: Map[String, String])

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. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

  10. def getBytes(key: String): Option[Array[Byte]]

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

    Definition Classes
    AnyRef → Any
  12. def getDouble(key: String): Option[Double]

  13. def getFloat(key: String): Option[Float]

  14. def getInt(key: String): Option[Int]

  15. def getLong(key: String): Option[Long]

  16. def getString(key: String): Option[String]

  17. def getValue[T](key: String)(implicit system: ActorSystem): Option[T]

    This will de-serialize value to object instance

    This will de-serialize value to object instance

    To do de-serialization, this requires an implicit ActorSystem, as the ActorRef and possibly other akka classes deserialization requires an implicit ActorSystem.

    See also

    http://doc.akka.io/docs/akka/snapshot/scala/serialization.html#A_Word_About_Java_Serialization

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withBoolean(key: String, value: Boolean): UserConfig

  29. def withBytes(key: String, value: Array[Byte]): UserConfig

  30. def withConfig(other: UserConfig): UserConfig

  31. def withDouble(key: String, value: Double): UserConfig

  32. def withFloat(key: String, value: Float): UserConfig

  33. def withInt(key: String, value: Int): UserConfig

  34. def withLong(key: String, value: Long): UserConfig

  35. def withString(key: String, value: String): UserConfig

  36. def withValue[T <: AnyRef](key: String, value: T)(implicit system: ActorSystem): UserConfig

    This will serialize the object and store it as string.

    This will serialize the object and store it as string.

    To do serialization, this requires an implicit ActorSystem, as the ActorRef and possibly other akka classes serialization requires an implicit ActorSystem.

    See also

    http://doc.akka.io/docs/akka/snapshot/scala/serialization.html#A_Word_About_Java_Serialization

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped