@Internal
 @ParametersAreNonnullByDefault
public interface ConfluenceMonitoring
| Modifier and Type | Method and Description | 
|---|---|
default @NonNull String | 
createName(String name,
          String... optional)
Creates a legal name from the supplied mandatory suggestion, and optional extra parts. 
 | 
default @NonNull Counter | 
fetchCounter(String name)
Fetches the counter associated with the supplied name details. 
 | 
@NonNull Counter | 
fetchCounter(String name,
            Map<String,String> tags)
Fetches the counter associated with the supplied name details. 
 | 
@NonNull Counter | 
fetchCounter(String name,
            String... optional)
Deprecated. 
 
since 7.1 Use  
fetchCounter(String, Map) | 
default @NonNull Split | 
startSplit(String name)
Creates and starts a split timer associated with the supplied name details. 
 | 
@NonNull Split | 
startSplit(String name,
          Map<String,String> tags)
Creates and starts a split timer associated with the supplied name details. 
 | 
@NonNull Split | 
startSplit(String name,
          String... optional)
Deprecated. 
 
since 7.1 Use  
startSplit(String, Map) | 
@Deprecated @NonNull Counter fetchCounter(String name, String... optional)
fetchCounter(String, Map)createName(String, String...).name - the mandatory suggested nameoptional - the optional parts to concatenate with the mandatory suggestiondefault @NonNull Counter fetchCounter(String name)
name - the mandatory suggested name@NonNull Counter fetchCounter(String name, Map<String,String> tags)
name - the mandatory suggested nametags - the name-value tags to apply@Deprecated @NonNull Split startSplit(String name, String... optional)
startSplit(String, Map)createName(String, String...).
 The typical usage is:
 try (Split split = instance.startSplit("name")) {
     // code to execute
 }
 name - the mandatory suggested nameoptional - the optional parts to concatenate with the mandatory suggestiondefault @NonNull Split startSplit(String name)
The typical usage is:
 try (Split split = instance.startSplit("name")) {
     // code to execute
 }
 name - the mandatory suggested name@NonNull Split startSplit(String name, Map<String,String> tags)
The typical usage is:
 try (Split split = instance.startSplit("name", singletonMap("tagname", "tagvalue"))) {
     // code to execute
 }
 name - the mandatory suggested nametags - the name-value tags to applydefault @NonNull String createName(String name, String... optional)
name - the mandatory suggested nameoptional - the optional parts to concatenate with the mandatory suggestionCopyright © 2003–2022 Atlassian. All rights reserved.