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 TypeMethodDescriptionvoid
getAttachmentData
(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, wait
Methods 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:StreamAttachmentStoreStats
Records a measurement about a call to streamAttachmentContent inAttachmentManager
.- Specified by:
getAttachmentData
in interfaceStreamAttachmentStoreStats
- Parameters:
ttfb
- aDuration
representing the time to first byteexecutionTime
- aDuration
representing the time elapsed while executing the method (this includes ttfb)contentLength
- size of the attachment in bytesfileStoreAnalyticInfo
- aFileStoreAnalyticInfo
representing the current file store configuration for attachments
-
getStatsName
- Specified by:
getStatsName
in interfacecom.atlassian.jira.util.stats.ManagedStats
-