public class BlobStoreStats extends AnnotatedStandardMBean implements BlobStoreStatsMBean, BlobStatsCollector
TYPE
NOOP
Constructor and Description |
---|
BlobStoreStats(StatisticsProvider sp) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
blobStoreInfoAsString() |
void |
downloadCompleted(java.lang.String blobId)
Invoked when download for a binary file get completed.
|
void |
downloaded(java.lang.String blobId,
long timeTaken,
java.util.concurrent.TimeUnit unit,
long size)
Called when a binary content is read from BlobStore
|
long |
getDownloadCount() |
javax.management.openmbean.CompositeData |
getDownloadCountHistory() |
javax.management.openmbean.CompositeData |
getDownloadRateHistory() |
javax.management.openmbean.CompositeData |
getDownloadSizeHistory() |
long |
getDownloadTotalSeconds() |
long |
getDownloadTotalSize() |
long |
getUploadCount() |
javax.management.openmbean.CompositeData |
getUploadCountHistory() |
javax.management.openmbean.CompositeData |
getUploadRateHistory() |
javax.management.openmbean.CompositeData |
getUploadSizeHistory() |
long |
getUploadTotalSeconds() |
long |
getUploadTotalSize() |
void |
uploadCompleted(java.lang.String blobId)
Invoked when upload for a binary file get completed.
|
void |
uploaded(long timeTaken,
java.util.concurrent.TimeUnit unit,
long size)
Called when a binary content is written to BlobStore
|
public BlobStoreStats(StatisticsProvider sp)
public void uploaded(long timeTaken, java.util.concurrent.TimeUnit unit, long size)
BlobStatsCollector
uploaded
in interface BlobStatsCollector
timeTaken
- time taken to perform the operationunit
- unit of time takensize
- size of binary content being writtenpublic void downloaded(java.lang.String blobId, long timeTaken, java.util.concurrent.TimeUnit unit, long size)
BlobStatsCollector
downloaded
in interface BlobStatsCollector
blobId
- id of blob whose content are being read. For BlobStore
which break up file in chunks it would be chunkIdtimeTaken
- time taken to perform the operationunit
- unit of time takensize
- size of binary content being readpublic void uploadCompleted(java.lang.String blobId)
BlobStatsCollector
uploadCompleted
in interface BlobStatsCollector
blobId
- id of the blob which got uploaded. Even in case of chunked
blobStores its the id of main blobpublic void downloadCompleted(java.lang.String blobId)
BlobStatsCollector
downloadCompleted
in interface BlobStatsCollector
blobId
- id of the blob which got downloaded. Even in case of chunked
blobStores its the id of main blobpublic long getUploadTotalSize()
getUploadTotalSize
in interface BlobStoreStatsMBean
public long getUploadCount()
getUploadCount
in interface BlobStoreStatsMBean
public long getUploadTotalSeconds()
getUploadTotalSeconds
in interface BlobStoreStatsMBean
public long getDownloadTotalSize()
getDownloadTotalSize
in interface BlobStoreStatsMBean
public long getDownloadCount()
getDownloadCount
in interface BlobStoreStatsMBean
public long getDownloadTotalSeconds()
getDownloadTotalSeconds
in interface BlobStoreStatsMBean
public java.lang.String blobStoreInfoAsString()
blobStoreInfoAsString
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getUploadSizeHistory()
getUploadSizeHistory
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getDownloadSizeHistory()
getDownloadSizeHistory
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getUploadRateHistory()
getUploadRateHistory
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getDownloadRateHistory()
getDownloadRateHistory
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getUploadCountHistory()
getUploadCountHistory
in interface BlobStoreStatsMBean
public javax.management.openmbean.CompositeData getDownloadCountHistory()
getDownloadCountHistory
in interface BlobStoreStatsMBean
"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"