Packages

object ToggleMap

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ToggleMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends ToggleMap

    A ToggleMap implementation based on immutable Toggle.Metadata.

  2. abstract class Mutable extends ToggleMap

    The ToggleMap interface is read only and this is the mutable side of it.

    The ToggleMap interface is read only and this is the mutable side of it.

    Implementations are expected to be thread-safe.

  3. trait Proxy extends AnyRef

    A ToggleMap that proxies work to underlying.

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. val Off: ToggleMap

    A ToggleMap which returns Toggle.off for all ids.

    A ToggleMap which returns Toggle.off for all ids.

    Note

    ToggleMap.iterator will always be empty.

  5. val On: ToggleMap

    A ToggleMap which returns Toggle.on for all ids.

    A ToggleMap which returns Toggle.on for all ids.

    Note

    ToggleMap.iterator will always be empty.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def components(toggleMap: ToggleMap): Seq[ToggleMap]

    For some administrative purposes, it can be useful to get at the component ToggleMaps that may make up a ToggleMap.

    For some administrative purposes, it can be useful to get at the component ToggleMaps that may make up a ToggleMap.

    For example:

    val toggleMap1: ToggleMap = ...
    val toggleMap2: ToggleMap = ...
    val combined = toggleMap1.orElse(toggleMap2)
    assert(Seq(toggleMap1, toggleMap2) == ToggleMap.components(combined))
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val flags: ToggleMap

    A ToggleMap that is backed by a com.twitter.app.GlobalFlag, flag.overrides.

    A ToggleMap that is backed by a com.twitter.app.GlobalFlag, flag.overrides.

    Its Toggles will reflect changes to the underlying Flag which enables usage in tests.

    Fractions that are out of range (outside of [0.0-1.0]) will be ignored.

    Note

    that inputs to Toggle.apply will be modified to promote better distributions in the face of low entropy inputs.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def newMutable(source: String): Mutable

    Create an empty Mutable instance with the given Metadata.source.

    Create an empty Mutable instance with the given Metadata.source.

    Note

    that inputs to Toggle.apply will be modified to promote better distributions in the face of low entropy inputs.

  18. def newMutable(): Mutable

    Create an empty Mutable instance with a default Metadata.source specified.

    Create an empty Mutable instance with a default Metadata.source specified.

    Note

    that inputs to Toggle.apply will be modified to promote better distributions in the face of low entropy inputs.

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def observed(toggleMap: ToggleMap, statsReceiver: StatsReceiver): ToggleMap

    Creates a ToggleMap with a Gauge, "checksum", which summarizes the current state of the Toggles which may be useful for comparing state across a cluster or over time.

    Creates a ToggleMap with a Gauge, "checksum", which summarizes the current state of the Toggles which may be useful for comparing state across a cluster or over time.

    statsReceiver

    in typical usage by StandardToggleMap, will be scoped to "toggles/$libraryName".

  22. def of(toggleMaps: ToggleMap*): ToggleMap

    Create a ToggleMap out of the given ToggleMaps.

    Create a ToggleMap out of the given ToggleMaps.

    If toggleMaps is empty, NullToggleMap will be returned.

    Annotations
    @varargs()
  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( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped