public interface BlobStatsCollector
| Modifier and Type | Field and Description |
|---|---|
static BlobStatsCollector |
NOOP |
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
static final BlobStatsCollector NOOP
void uploaded(long timeTaken,
java.util.concurrent.TimeUnit unit,
long size)
timeTaken - time taken to perform the operationunit - unit of time takensize - size of binary content being writtenvoid downloaded(java.lang.String blobId,
long timeTaken,
java.util.concurrent.TimeUnit unit,
long size)
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 readvoid uploadCompleted(java.lang.String blobId)
blobId - id of the blob which got uploaded. Even in case of chunked
blobStores its the id of main blobvoid downloadCompleted(java.lang.String blobId)
blobId - id of the blob which got downloaded. Even in case of chunked
blobStores its the id of main blob"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"