Interface ExtendedBlobStatsCollector
- All Superinterfaces:
org.apache.jackrabbit.oak.spi.blob.stats.BlobStatsCollector
- All Known Implementing Classes:
BlobStoreStats
public interface ExtendedBlobStatsCollector
extends org.apache.jackrabbit.oak.spi.blob.stats.BlobStatsCollector
Interface that adds stats to
BlobStatsCollector for additional
capabilities in blob stores that are added via
DataStoreBlobStore.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a call toSharedDataStore.addMetadataRecord(File, String)is completedvoidCalled when a call toSharedDataStore.addMetadataRecord(File, String)failsvoidallMetadataRecordsDeleted(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoidcompleteBlobUpload(long timeTaken, TimeUnit unit) Called when a call toBlobAccessProvider.completeBlobUpload(String)is madevoidCalled when a call toBlobAccessProvider.completeBlobUpload(String)is completedvoidCalled when a call toBlobAccessProvider.completeBlobUpload(String)failsvoidCalled when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoiddeleteAllMetadataRecordsFailed(String prefix) Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoidCalled when a call toSharedDataStore.deleteMetadataRecord(String)is completedvoidCalled when a call toSharedDataStore.deleteMetadataRecord(String)failsvoidgetAllMetadataRecordsCalled(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.getAllMetadataRecords(String)is madevoidgetAllMetadataRecordsCompleted(String prefix) Called when a call toSharedDataStore.getAllMetadataRecords(String)is completedvoidgetAllMetadataRecordsFailed(String prefix) Called when a call toSharedDataStore.getAllMetadataRecords(String)failsvoidgetAllRecordsCalled(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.getAllRecords()is madevoidCalled when a call toSharedDataStore.getAllRecords()is completedvoidgetDownloadURICalled(long timeTaken, TimeUnit unit, String id) Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is madevoidCalled when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is completedvoidCalled when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)failsvoidgetMetadataRecordCalled(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.getMetadataRecord(String)is madevoidCalled when a call toSharedDataStore.getMetadataRecord(String)is completedvoidCalled when a call toSharedDataStore.getMetadataRecord(String)failsvoidgetRecordForIdCalled(long timeTaken, TimeUnit unit, long size) Called when aDataRecordis retrieved via a call toSharedDataStore.getRecordForId(DataIdentifier).voidgetRecordForIdCompleted(String blobId) Called when a call toSharedDataStore.getRecordForId(DataIdentifier)is completedvoidgetRecordForIdFailed(String blobId) Called when a call toSharedDataStore.getRecordForId(DataIdentifier)failsvoidinitiateBlobUpload(long timeTaken, TimeUnit unit, long maxSize, int maxUris) Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)is madevoidCalled when a call toBlobAccessProvider.initiateBlobUpload(long, int)is completedvoidCalled when a call toBlobAccessProvider.initiateBlobUpload(long, int)failsvoidmetadataRecordAdded(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.addMetadataRecord(File, String)is madevoidmetadataRecordDeleted(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.deleteMetadataRecord(String)is madevoidmetadataRecordExistsCalled(long timeTaken, TimeUnit unit) Called when a call toSharedDataStore.metadataRecordExists(String)is madevoidCalled when a call toSharedDataStore.metadataRecordExists(String)is completedvoidCalled when a call toSharedDataStore.metadataRecordExists(String)failsMethods inherited from interface org.apache.jackrabbit.oak.spi.blob.stats.BlobStatsCollector
addRecordCompleted, addRecordFailed, deleteAllOlderThanCompleted, deleteAllOlderThanFailed, deleteCompleted, deleted, deletedAllOlderThan, deleteFailed, downloadCompleted, downloaded, downloadFailed, getAllIdentifiersCalled, getAllIdentifiersCompleted, getAllIdentifiersFailed, getRecordCalled, getRecordCompleted, getRecordFailed, getRecordFromReferenceCalled, getRecordFromReferenceCompleted, getRecordFromReferenceFailed, getRecordIfStoredCalled, getRecordIfStoredCompleted, getRecordIfStoredFailed, recordAdded, uploadCompleted, uploaded, uploadFailed
-
Field Details
-
NOOP
-
-
Method Details
-
getRecordForIdCalled
Called when aDataRecordis retrieved via a call toSharedDataStore.getRecordForId(DataIdentifier).- Parameters:
timeTaken- time taken to perform the operationunit- unit of time takensize- size of the binary
-
getRecordForIdCompleted
Called when a call toSharedDataStore.getRecordForId(DataIdentifier)is completed- Parameters:
blobId- id of the record retrieved
-
getRecordForIdFailed
Called when a call toSharedDataStore.getRecordForId(DataIdentifier)fails- Parameters:
blobId- id of the record
-
getAllRecordsCalled
Called when a call toSharedDataStore.getAllRecords()is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
getAllRecordsCompleted
void getAllRecordsCompleted()Called when a call toSharedDataStore.getAllRecords()is completed -
metadataRecordAdded
Called when a call toSharedDataStore.addMetadataRecord(File, String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
addMetadataRecordCompleted
Called when a call toSharedDataStore.addMetadataRecord(File, String)is completed- Parameters:
name- name of the metadata record added
-
addMetadataRecordFailed
Called when a call toSharedDataStore.addMetadataRecord(File, String)fails- Parameters:
name- name of the metadata record
-
getMetadataRecordCalled
Called when a call toSharedDataStore.getMetadataRecord(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
getMetadataRecordCompleted
Called when a call toSharedDataStore.getMetadataRecord(String)is completed- Parameters:
name- name of the metadata record retrieved
-
getMetadataRecordFailed
Called when a call toSharedDataStore.getMetadataRecord(String)fails- Parameters:
name- name of the metadata record
-
getAllMetadataRecordsCalled
Called when a call toSharedDataStore.getAllMetadataRecords(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
getAllMetadataRecordsCompleted
Called when a call toSharedDataStore.getAllMetadataRecords(String)is completed- Parameters:
prefix- prefix of the metadata records retrieved
-
getAllMetadataRecordsFailed
Called when a call toSharedDataStore.getAllMetadataRecords(String)fails- Parameters:
prefix- prefix of the metadata records
-
metadataRecordExistsCalled
Called when a call toSharedDataStore.metadataRecordExists(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
metadataRecordExistsCompleted
Called when a call toSharedDataStore.metadataRecordExists(String)is completed- Parameters:
name- name of the metadata record checked
-
metadataRecordExistsFailed
Called when a call toSharedDataStore.metadataRecordExists(String)fails- Parameters:
name- name of the metadata record
-
metadataRecordDeleted
Called when a call toSharedDataStore.deleteMetadataRecord(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
deleteMetadataRecordCompleted
Called when a call toSharedDataStore.deleteMetadataRecord(String)is completed- Parameters:
name- name of the metadata record deleted
-
deleteMetadataRecordFailed
Called when a call toSharedDataStore.deleteMetadataRecord(String)fails- Parameters:
name- name of the metadata record
-
allMetadataRecordsDeleted
Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
deleteAllMetadataRecordsCompleted
Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
prefix- prefix of the metadata records deleted
-
deleteAllMetadataRecordsFailed
Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
prefix- prefix of the metadata records
-
initiateBlobUpload
Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time takenmaxSize- size of binary to be uploadedmaxUris- max number of uris requested
-
initiateBlobUploadCompleted
void initiateBlobUploadCompleted()Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)is completed -
initiateBlobUploadFailed
void initiateBlobUploadFailed()Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)fails -
completeBlobUpload
Called when a call toBlobAccessProvider.completeBlobUpload(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
completeBlobUploadCompleted
Called when a call toBlobAccessProvider.completeBlobUpload(String)is completed- Parameters:
id- identifier of uploaded blob
-
completeBlobUploadFailed
void completeBlobUploadFailed()Called when a call toBlobAccessProvider.completeBlobUpload(String)fails -
getDownloadURICalled
Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time takenid- identifier of blob to be downloaded
-
getDownloadURICompleted
Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is completed- Parameters:
uri- the uri generated for downloading
-
getDownloadURIFailed
void getDownloadURIFailed()Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)fails
-