Class StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats
java.lang.Object
com.atlassian.jira.issue.attachment.StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats
- All Implemented Interfaces:
StreamAttachmentStoreStats,com.atlassian.jira.util.stats.ManagedStats,Closeable,AutoCloseable
- Enclosing interface:
- StreamAttachmentStoreStats
public static class StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats
extends Object
implements StreamAttachmentStoreStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.attachment.StreamAttachmentStoreStats
StreamAttachmentStoreStats.MutableStreamAttachmentStoreStats -
Field Summary
Fields inherited from interface com.atlassian.jira.util.stats.ManagedStats
STATS_NAME_REGEX -
Constructor Summary
Constructors -
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.util.stats.ManagedStats
addJiraStatsListener, close, getMinInterval, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
-
Constructor Details
-
MutableStreamAttachmentStoreStats
public MutableStreamAttachmentStoreStats()
-
-
Method Details
-
getAttachmentData
public void getAttachmentData(Duration ttfb, Duration executionTime, long contentLength, FileStoreAnalyticInfo fileStoreAnalyticInfo) Description copied from interface:StreamAttachmentStoreStatsRecords a measurement about a call to streamAttachmentContent inAttachmentManager.- Specified by:
getAttachmentDatain interfaceStreamAttachmentStoreStats- 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
-
getStatsName
- Specified by:
getStatsNamein interfacecom.atlassian.jira.util.stats.ManagedStats
-