Interface StreamAttachmentStoreStats
- All Superinterfaces:
AutoCloseable,Closeable,com.atlassian.jira.util.stats.ManagedStats
- All Known Implementing Classes:
StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats
public interface StreamAttachmentStoreStats
extends com.atlassian.jira.util.stats.ManagedStats
Collects and prints stats related to an
StreamAttachmentStore.
See also: JiraStats- Since:
- 9.11
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Field Summary
Fields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEX -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAttachmentData(Duration ttfb, Duration executionTime, long contentLength, FileStoreAnalyticInfo fileStoreAnalyticInfo) Records a measurement about a call to streamAttachmentContent inAttachmentManager.Methods inherited from interface com.atlassian.jira.util.stats.ManagedStats
addJiraStatsListener, close, getMinInterval, getStatsName, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Method Details
-
getAttachmentData
void getAttachmentData(Duration ttfb, Duration executionTime, long contentLength, FileStoreAnalyticInfo fileStoreAnalyticInfo) Records a measurement about a call to streamAttachmentContent inAttachmentManager.- Parameters:
ttfb- aDurationrepresenting the time to first byteexecutionTime- aDurationrepresenting the time elapsed while executing the method (this includes ttfb)contentLength- size of the attachment in bytesfileStoreAnalyticInfo- aFileStoreAnalyticInforepresenting the current file store configuration for attachments
-