public class BlobStoreStats extends AnnotatedStandardMBean implements BlobStoreStatsMBean, BlobStatsCollector
TYPENOOP| 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)
BlobStatsCollectoruploaded in interface BlobStatsCollectortimeTaken - 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)
BlobStatsCollectordownloaded in interface BlobStatsCollectorblobId - 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)
BlobStatsCollectoruploadCompleted in interface BlobStatsCollectorblobId - 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)
BlobStatsCollectordownloadCompleted in interface BlobStatsCollectorblobId - id of the blob which got downloaded. Even in case of chunked
blobStores its the id of main blobpublic long getUploadTotalSize()
getUploadTotalSize in interface BlobStoreStatsMBeanpublic long getUploadCount()
getUploadCount in interface BlobStoreStatsMBeanpublic long getUploadTotalSeconds()
getUploadTotalSeconds in interface BlobStoreStatsMBeanpublic long getDownloadTotalSize()
getDownloadTotalSize in interface BlobStoreStatsMBeanpublic long getDownloadCount()
getDownloadCount in interface BlobStoreStatsMBeanpublic long getDownloadTotalSeconds()
getDownloadTotalSeconds in interface BlobStoreStatsMBeanpublic java.lang.String blobStoreInfoAsString()
blobStoreInfoAsString in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getUploadSizeHistory()
getUploadSizeHistory in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getDownloadSizeHistory()
getDownloadSizeHistory in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getUploadRateHistory()
getUploadRateHistory in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getDownloadRateHistory()
getDownloadRateHistory in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getUploadCountHistory()
getUploadCountHistory in interface BlobStoreStatsMBeanpublic javax.management.openmbean.CompositeData getDownloadCountHistory()
getDownloadCountHistory in interface BlobStoreStatsMBean"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"