Interface ConfluenceMonitoring
- 
- All Known Implementing Classes:
 AtlassianInstrumentationConfluenceMonitoring
@Internal @ParametersAreNonnullByDefault public interface ConfluenceMonitoring 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default @NonNull StringcreateName(String name, String... optional)Creates a legal name from the supplied mandatory suggestion, and optional extra parts.default @NonNull CounterfetchCounter(String name)Fetches the counter associated with the supplied name details.@NonNull CounterfetchCounter(String name, String... optional)Deprecated.since 7.1 UsefetchCounter(String, Map)@NonNull CounterfetchCounter(String name, Map<String,String> tags)Fetches the counter associated with the supplied name details.default @NonNull SplitstartSplit(String name)Creates and starts a split timer associated with the supplied name details.@NonNull SplitstartSplit(String name, String... optional)Deprecated.since 7.1 UsestartSplit(String, Map)@NonNull SplitstartSplit(String name, Map<String,String> tags)Creates and starts a split timer associated with the supplied name details. 
 - 
 
- 
- 
Method Detail
- 
fetchCounter
@Deprecated @NonNull Counter fetchCounter(String name, String... optional)
Deprecated.since 7.1 UsefetchCounter(String, Map)Fetches the counter associated with the supplied name details. The name is constructed callingcreateName(String, String...).- Parameters:
 name- the mandatory suggested nameoptional- the optional parts to concatenate with themandatorysuggestion- Returns:
 - the counter associated with the name.
 
 
- 
fetchCounter
default @NonNull Counter fetchCounter(String name)
Fetches the counter associated with the supplied name details.- Parameters:
 name- the mandatory suggested name- Returns:
 - the counter associated with the name.
 - Since:
 - 7.1
 
 
- 
fetchCounter
@NonNull Counter fetchCounter(String name, Map<String,String> tags)
Fetches the counter associated with the supplied name details.- Parameters:
 name- the mandatory suggested nametags- the name-value tags to apply- Returns:
 - the counter associated with the name.
 - Since:
 - 7.1
 
 
- 
startSplit
@Deprecated @NonNull Split startSplit(String name, String... optional)
Deprecated.since 7.1 UsestartSplit(String, Map)Creates and starts a split timer associated with the supplied name details. The name is constructed callingcreateName(String, String...).The typical usage is:
try (Split split = instance.startSplit("name")) { // code to execute }- Parameters:
 name- the mandatory suggested nameoptional- the optional parts to concatenate with themandatorysuggestion- Returns:
 - the running split timer
 
 
- 
startSplit
default @NonNull Split startSplit(String name)
Creates and starts a split timer associated with the supplied name details.The typical usage is:
try (Split split = instance.startSplit("name")) { // code to execute }- Parameters:
 name- the mandatory suggested name- Returns:
 - the running split timer
 - Since:
 - 7.1
 
 
- 
startSplit
@NonNull Split startSplit(String name, Map<String,String> tags)
Creates and starts a split timer associated with the supplied name details.The typical usage is:
try (Split split = instance.startSplit("name", singletonMap("tagname", "tagvalue"))) { // code to execute }- Parameters:
 name- the mandatory suggested nametags- the name-value tags to apply- Returns:
 - the running split timer
 - Since:
 - 7.1
 
 
- 
createName
default @NonNull String createName(String name, String... optional)
Creates a legal name from the supplied mandatory suggestion, and optional extra parts.- Parameters:
 name- the mandatory suggested nameoptional- the optional parts to concatenate with themandatorysuggestion- Returns:
 - a legal name based on the inputs
 
 
 - 
 
 -