Interface ContextFragment
- All Superinterfaces:
AutoCloseable
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public interface ContextFragment
extends AutoCloseable
OptionalTags can live within a ContextFragment, which
after it's closed will mean that any OptionalTags will
no longer be a part of the MetricContext.
- Since:
- 4.6.0
- See Also:
-
Method Summary
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-