public class ThreadLocalTransitLayerFactory extends java.lang.Object implements TransitLayerFactory
The TransitLayerFactory
that creates ThreadLocalTransitLayer
instances. If you need to manually
configure the TransitLayer
, you would set baggage.transit
to be this class, e.g.:
-Dbaggage.transit=brown.tracingplane.impl.ThreadLocalTransitLayerFactoryor in the typesafe config
application.conf
:
baggage.transit = "brown.tracingplane.impl.ThreadLocalTransitLayerFactory"
Constructor and Description |
---|
ThreadLocalTransitLayerFactory() |
Modifier and Type | Method and Description |
---|---|
TransitLayer |
transitlayer()
Instantiate the
TransitLayer implementation that this factory provides. |
public TransitLayer transitlayer()
TransitLayerFactory
TransitLayer
implementation that this factory provides.transitlayer
in interface TransitLayerFactory
TransitLayer
instance