Get a Toggle for this id
.
Get a Toggle for this id
.
The Toggle.isDefined
method should return false
if the
ToggleMap does not know about that Toggle
or it is currently not "operating" on that id
.
the identifying name of the Toggle
.
These should generally be fully qualified names to avoid conflicts
between libraries. For example, "com.twitter.finagle.CoolThing".
The identifier for this library.
The identifier for this library.
Used so that multiple libraries can each have their own backing ServiceLoadedToggleMap.
Creates a ToggleMap which uses this
before that
.
Creates a ToggleMap which uses this
before that
.
apply returns a Toggle that uses the Toggle from this
if it isDefinedAt
for the input, before trying that
.
iterator includes metadata from both self
and that
,
with self
's metadata taking precedence on conflicting ids.
Note however that if a ToggleMetadata.description
is not defined on self
,
the description from that
will be preferred. This is done because many
sources of ToggleMaps
do not have a description defined and we want to
surface that information.
A
ServiceLoadedToggleMap
is a ToggleMap that uses util-app's service loading mechanism (seecom.twitter.app.LoadService
) to be loaded.StandardToggleMap