package util
- Alphabetic
- Public
- All
Value Members
-
object
loadServiceDenied
extends GlobalFlag[Set[String]]
A deny list of implementations to ignore.
A deny list of implementations to ignore. Keys are the fully qualified class names. Any other implementations that are found via
LoadService.applyare eligible to be used.As an example, here's how to filter out
OstrichStatsReceiver,OstrichExporterandCommonsStatsReceiverusing a global flag:-Dcom.twitter.finagle.util.loadServiceDenied=com.twitter.finagle.stats.OstrichStatsReceiver,com.twitter.finagle.stats.OstrichExporter,com.twitter.finagle.stats.CommonsStatsReceiver
We need to pass the arguments as Java property values instead of as Java application arguments (regular TwitterServer flags) because app.LoadService may be loaded before application arguments are parsed.
- Note
this lives in
com.twitter.finagle.utilfor historical reasons as this flag began its life in Finagle and in order to keep backwards compatibility it remains in that package.
-
object
loadServiceIgnoredPaths
extends GlobalFlag[Seq[String]]
A set of paths for com.twitter.app.LoadService to ignore while scanning.
A set of paths for com.twitter.app.LoadService to ignore while scanning. May be useful for performance or problematic paths.
Defaults to an empty
Set.- Note
this lives in
com.twitter.finagle.utilfor historical reasons as this flag began its life in Finagle and in order to keep backwards compatibility it remains in that package.