Interface ExtendedBlobStatsCollector
-
- All Superinterfaces:
BlobStatsCollector
- All Known Implementing Classes:
BlobStoreStats
public interface ExtendedBlobStatsCollector extends BlobStatsCollector
Interface that adds stats toBlobStatsCollectorfor additional capabilities in blob stores that are added viaDataStoreBlobStore.
-
-
Field Summary
Fields Modifier and Type Field Description static ExtendedBlobStatsCollectorNOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMetadataRecordCompleted(java.lang.String name)Called when a call toSharedDataStore.addMetadataRecord(File, String)is completedvoidaddMetadataRecordFailed(java.lang.String name)Called when a call toSharedDataStore.addMetadataRecord(File, String)failsvoidallMetadataRecordsDeleted(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoidcompleteBlobUpload(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toBlobAccessProvider.completeBlobUpload(String)is madevoidcompleteBlobUploadCompleted(java.lang.String id)Called when a call toBlobAccessProvider.completeBlobUpload(String)is completedvoidcompleteBlobUploadFailed()Called when a call toBlobAccessProvider.completeBlobUpload(String)failsvoiddeleteAllMetadataRecordsCompleted(java.lang.String prefix)Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoiddeleteAllMetadataRecordsFailed(java.lang.String prefix)Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is madevoiddeleteMetadataRecordCompleted(java.lang.String name)Called when a call toSharedDataStore.deleteMetadataRecord(String)is completedvoiddeleteMetadataRecordFailed(java.lang.String name)Called when a call toSharedDataStore.deleteMetadataRecord(String)failsvoidgetAllMetadataRecordsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.getAllMetadataRecords(String)is madevoidgetAllMetadataRecordsCompleted(java.lang.String prefix)Called when a call toSharedDataStore.getAllMetadataRecords(String)is completedvoidgetAllMetadataRecordsFailed(java.lang.String prefix)Called when a call toSharedDataStore.getAllMetadataRecords(String)failsvoidgetAllRecordsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.getAllRecords()is madevoidgetAllRecordsCompleted()Called when a call toSharedDataStore.getAllRecords()is completedvoidgetDownloadURICalled(long timeTaken, java.util.concurrent.TimeUnit unit, java.lang.String id)Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is madevoidgetDownloadURICompleted(java.lang.String uri)Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)is completedvoidgetDownloadURIFailed()Called when a call toBlobAccessProvider.getDownloadURI(Blob, BlobDownloadOptions)failsvoidgetMetadataRecordCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.getMetadataRecord(String)is madevoidgetMetadataRecordCompleted(java.lang.String name)Called when a call toSharedDataStore.getMetadataRecord(String)is completedvoidgetMetadataRecordFailed(java.lang.String name)Called when a call toSharedDataStore.getMetadataRecord(String)failsvoidgetRecordForIdCalled(long timeTaken, java.util.concurrent.TimeUnit unit, long size)Called when aDataRecordis retrieved via a call toSharedDataStore.getRecordForId(DataIdentifier).voidgetRecordForIdCompleted(java.lang.String blobId)Called when a call toSharedDataStore.getRecordForId(DataIdentifier)is completedvoidgetRecordForIdFailed(java.lang.String blobId)Called when a call toSharedDataStore.getRecordForId(DataIdentifier)failsvoidinitiateBlobUpload(long timeTaken, java.util.concurrent.TimeUnit unit, long maxSize, int maxUris)Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)is madevoidinitiateBlobUploadCompleted()Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)is completedvoidinitiateBlobUploadFailed()Called when a call toBlobAccessProvider.initiateBlobUpload(long, int)failsvoidmetadataRecordAdded(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.addMetadataRecord(File, String)is madevoidmetadataRecordDeleted(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.deleteMetadataRecord(String)is madevoidmetadataRecordExistsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.metadataRecordExists(String)is madevoidmetadataRecordExistsCompleted(java.lang.String name)Called when a call toSharedDataStore.metadataRecordExists(String)is completedvoidmetadataRecordExistsFailed(java.lang.String name)Called when a call toSharedDataStore.metadataRecordExists(String)fails-
Methods 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 Detail
-
NOOP
static final ExtendedBlobStatsCollector NOOP
-
-
Method Detail
-
getRecordForIdCalled
void getRecordForIdCalled(long timeTaken, java.util.concurrent.TimeUnit unit, long size)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
void getRecordForIdCompleted(java.lang.String blobId)
Called when a call toSharedDataStore.getRecordForId(DataIdentifier)is completed- Parameters:
blobId- id of the record retrieved
-
getRecordForIdFailed
void getRecordForIdFailed(java.lang.String blobId)
Called when a call toSharedDataStore.getRecordForId(DataIdentifier)fails- Parameters:
blobId- id of the record
-
getAllRecordsCalled
void getAllRecordsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)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
void metadataRecordAdded(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.addMetadataRecord(File, String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
addMetadataRecordCompleted
void addMetadataRecordCompleted(java.lang.String name)
Called when a call toSharedDataStore.addMetadataRecord(File, String)is completed- Parameters:
name- name of the metadata record added
-
addMetadataRecordFailed
void addMetadataRecordFailed(java.lang.String name)
Called when a call toSharedDataStore.addMetadataRecord(File, String)fails- Parameters:
name- name of the metadata record
-
getMetadataRecordCalled
void getMetadataRecordCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.getMetadataRecord(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
getMetadataRecordCompleted
void getMetadataRecordCompleted(java.lang.String name)
Called when a call toSharedDataStore.getMetadataRecord(String)is completed- Parameters:
name- name of the metadata record retrieved
-
getMetadataRecordFailed
void getMetadataRecordFailed(java.lang.String name)
Called when a call toSharedDataStore.getMetadataRecord(String)fails- Parameters:
name- name of the metadata record
-
getAllMetadataRecordsCalled
void getAllMetadataRecordsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.getAllMetadataRecords(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
getAllMetadataRecordsCompleted
void getAllMetadataRecordsCompleted(java.lang.String prefix)
Called when a call toSharedDataStore.getAllMetadataRecords(String)is completed- Parameters:
prefix- prefix of the metadata records retrieved
-
getAllMetadataRecordsFailed
void getAllMetadataRecordsFailed(java.lang.String prefix)
Called when a call toSharedDataStore.getAllMetadataRecords(String)fails- Parameters:
prefix- prefix of the metadata records
-
metadataRecordExistsCalled
void metadataRecordExistsCalled(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.metadataRecordExists(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
metadataRecordExistsCompleted
void metadataRecordExistsCompleted(java.lang.String name)
Called when a call toSharedDataStore.metadataRecordExists(String)is completed- Parameters:
name- name of the metadata record checked
-
metadataRecordExistsFailed
void metadataRecordExistsFailed(java.lang.String name)
Called when a call toSharedDataStore.metadataRecordExists(String)fails- Parameters:
name- name of the metadata record
-
metadataRecordDeleted
void metadataRecordDeleted(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.deleteMetadataRecord(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
deleteMetadataRecordCompleted
void deleteMetadataRecordCompleted(java.lang.String name)
Called when a call toSharedDataStore.deleteMetadataRecord(String)is completed- Parameters:
name- name of the metadata record deleted
-
deleteMetadataRecordFailed
void deleteMetadataRecordFailed(java.lang.String name)
Called when a call toSharedDataStore.deleteMetadataRecord(String)fails- Parameters:
name- name of the metadata record
-
allMetadataRecordsDeleted
void allMetadataRecordsDeleted(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
deleteAllMetadataRecordsCompleted
void deleteAllMetadataRecordsCompleted(java.lang.String prefix)
Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
prefix- prefix of the metadata records deleted
-
deleteAllMetadataRecordsFailed
void deleteAllMetadataRecordsFailed(java.lang.String prefix)
Called when a call toSharedDataStore.deleteAllMetadataRecords(String)is made- Parameters:
prefix- prefix of the metadata records
-
initiateBlobUpload
void initiateBlobUpload(long timeTaken, java.util.concurrent.TimeUnit unit, long maxSize, int maxUris)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
void completeBlobUpload(long timeTaken, java.util.concurrent.TimeUnit unit)Called when a call toBlobAccessProvider.completeBlobUpload(String)is made- Parameters:
timeTaken- time taken to perform the operationunit- unit of time taken
-
completeBlobUploadCompleted
void completeBlobUploadCompleted(java.lang.String id)
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
void getDownloadURICalled(long timeTaken, java.util.concurrent.TimeUnit unit, java.lang.String id)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
void getDownloadURICompleted(java.lang.String uri)
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
-
-