object TunableMap
- Alphabetic
- By Inheritance
- TunableMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Entry[T](key: Key[T], value: T, source: String) extends Product with Serializable
-
final
case class
Key[T](id: String, clazz: Class[T]) extends Product with Serializable
Class used to retrieve a Tunable with id
idof typeT. -
abstract
class
Mutable extends TunableMap
A TunableMap that can be updated via
putandclearoperations.A TunableMap that can be updated via
putandclearoperations. Putting a value for a givenidwill update the current value for theid, or create a new Tunable if it does not exist. The type of the new value must match that of the existing value, or aClassCastExceptionwill be thrown.applyreturns a Tunable for a given TunableMap.Key and creates it if does not already exist. Updates to the TunableMap update the underlying Tunables; for example, a Tunable returned fromTunableMap.applywill produce an updated value whenTunable.apply()is called if the TunableMap is updated.clearclears the underlying Tunable for a given TunableMap.Key but does not remove it from the map; this has the effect that callingTunable.apply()on a previously retrieved Tunable producesNone. This behavior is desirable because a Tunable's value may be cleared and re-set, and we want Tunable applications to see those updates. -
trait
Proxy extends TunableMap
A TunableMap that forwards all calls to
underlying.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
components(tunableMap: TunableMap): Seq[TunableMap]
Get the component TunableMaps that make up
tunableMap.Get the component TunableMaps that make up
tunableMap. For Composite TunableMaps, this returns a Seq of the components. Otherwise, it returns a Seq oftunableMap.Used for testing.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newMutable(): Mutable
-
def
newMutable(source: String): Mutable
Create a thread-safe map of Tunable.Mutables with the given
source -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
of(tunableMaps: TunableMap*): TunableMap
Create a TunableMap out of the given TunableMaps.
Create a TunableMap out of the given TunableMaps.
If
tunableMapsis empty, NullTunableMap will be returned.- Annotations
- @varargs()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Key extends Serializable