public static class StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats extends Object implements StreamAttachmentStoreStats
StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats| Constructor and Description |
|---|
MutableStreamAttachmentStoreStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
getAttachmentData(java.time.Duration ttfb,
java.time.Duration executionTime,
long contentLength,
FileStoreAnalyticInfo fileStoreAnalyticInfo)
Records a measurement about a call to streamAttachmentContent in
AttachmentManager. |
String |
getStatsName() |
public void getAttachmentData(java.time.Duration ttfb,
java.time.Duration executionTime,
long contentLength,
FileStoreAnalyticInfo fileStoreAnalyticInfo)
StreamAttachmentStoreStatsAttachmentManager.getAttachmentData in interface StreamAttachmentStoreStatsttfb - a Duration representing the time to first byteexecutionTime - a Duration representing the time elapsed while executing the method (this includes ttfb)contentLength - size of the attachment in bytesfileStoreAnalyticInfo - a FileStoreAnalyticInfo representing the current file store configuration for attachmentspublic String getStatsName()
getStatsName in interface com.atlassian.jira.util.stats.ManagedStatsCopyright © 2002-2024 Atlassian. All Rights Reserved.