Class and Description |
---|
com.netflix.spectator.api.ExtendedRegistry
This class was used prior to java 8 for adding extension methods to the registry
without breaking all classes implementing the interface. The extension methods have now been
moved to Registry interface as default methods. This class is scheduled for removal in a future
release.
|
Method and Description |
---|
com.netflix.spectator.api.Registry.collectionSize(Id, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.collectionSize(String, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.gauge(Id, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.gauge(Id, T, ToDoubleFunction<T>)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.gauge(String, Iterable<Tag>, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.gauge(String, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.gauge(String, T, ToDoubleFunction<T>)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.longTaskTimer(Id)
Use
LongTaskTimer.get(Registry, Id)
instead. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.longTaskTimer(String)
Use
LongTaskTimer.get(Registry, Id)
instead. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.longTaskTimer(String, Iterable<Tag>)
Use
LongTaskTimer.get(Registry, Id)
instead. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.longTaskTimer(String, String...)
Use
LongTaskTimer.get(Registry, Id)
instead. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.mapSize(Id, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.mapSize(String, T)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.methodValue(Id, Object, String)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.Registry.methodValue(String, Object, String)
Use
PolledMeter instead. This method has been deprecated to help
reduce confusion between active gauges that are explicitly updated by the
user and passive gauges that are polled in the background. Going forward
the registry methods will only be used for the core types directly updated
by the user. Other patterns such as PolledMeter s will be handled
separately. This method is scheduled for removal in a future release. |
com.netflix.spectator.api.patterns.PolledMeter.monitorMeter(Registry, Meter)
This method only exists to allow for backwards compatibility and should
be considered an internal detail. This method is scheduled for removal in a future release.
|
com.netflix.spectator.api.CompositeRegistry.register(Meter) |
com.netflix.spectator.api.Registry.register(Meter)
Code outside of Spectator should not implement the Meter interface. This
method is scheduled for removal in a future release.
|
com.netflix.spectator.api.AbstractRegistry.register(Meter) |
com.netflix.spectator.api.Spectator.registry()
Use injection or
Spectator.globalRegistry() instead. This method is scheduled
for removal in a future release. |