uk.co.bigbeeconsultants.bconfig

MutableConfig

class MutableConfig extends AnyRef

Provides a mutable wrapper for Config, principally for use within JMX. To obtain a JMX-based instance, use uk.co.bigbeeconsultants.bconfig.jmx.ConfigJmx register.

This class should be safe for concurrent access by multiple threads because updates are performed atomically. Updates follow an 'eventually consistent' model: whilst updating, concurrent reads will either obtain the old value or the new value but not fail to obtain any.

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

Instance Constructors

  1. new MutableConfig(initial: ListMap[String, String])

    initial

    the priming uk.co.bigbeeconsultants.bconfig.Config instance

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. def apply(name: String): String

    Gets the value to which the specified key is mapped, or throws NoSuchElementException if this map contains no mapping for the key.

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Tests whether a key exists.

  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(name: String): Option[String]

    Gets the value to which the specified key is mapped, or null if this map contains no mapping for the key.

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

    Definition Classes
    AnyRef → Any
  13. def getList(name: String): List[String]

    Gets the list-value to which the specified key is mapped, or throws NoSuchElementException if this map contains no mapping for the key.

  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. def keys: Iterable[String]

    Gets all the keys currently held, sorted alphabetically.

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def put(name: String, value: String): Unit

    Maps the specified key to the specified value in this table.

    Maps the specified key to the specified value in this table. If the value contains placeholders surrounded by curly braces, these are expanded by substituting the appropriate value. This does not work for keys however.

    Put operations may be relatively slow compared to get operations - this is a deliberate design choice.

  21. def remove(name: String): Unit

    Removes the key (and its corresponding value) from this map.

  22. def size: Int

    Gets the number of entries.

  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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped