A B C D E F G H I L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABS_FORBIDDEN_EXCEPTION_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- ABS_TOKEN_REFRESH_ATTEMPT_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- absForbiddenExceptionCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- absTokenRefreshAttemptCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- accountServiceFetchTime - Variable in class com.github.ambry.cloud.VcrMetrics
- ADAuthBasedStorageClient - Class in com.github.ambry.cloud.azure
-
StorageClient
implementation for AD based authentication. - ADAuthBasedStorageClient(BlobServiceClient, BlobBatchClient, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.ADAuthBasedStorageClient
-
Constructor for
ADAuthBasedStorageClient
object for testing. - ADAuthBasedStorageClient(CloudConfig, AzureCloudConfig, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.ADAuthBasedStorageClient
-
Constructor for
ADAuthBasedStorageClient
object. - addBlobStore(ReplicaId) - Method in class com.github.ambry.cloud.CloudStorageManager
- addListener(VirtualReplicatorClusterListener) - Method in class com.github.ambry.cloud.HelixVcrCluster
- addListener(VirtualReplicatorClusterListener) - Method in class com.github.ambry.cloud.StaticVcrCluster
- addPartition(String) - Method in class com.github.ambry.cloud.HelixVcrCluster
-
Add
PartitionId
to assignedPartitionIds set, if {@param partitionIdStr} valid. - addPartitionErrorCount - Variable in class com.github.ambry.cloud.VcrMetrics
- awaitShutdown(int) - Method in class com.github.ambry.cloud.VcrServer
- AZURE_BLOB_CONTAINER_STRATEGY - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_NAME_SCHEME_VERSION - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_PURGE_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_AUTHORITY - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_CLIENT_CLASS - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_CLIENTID - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_CONNECTION_STRING - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_ENDPOINT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_SCOPE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AZURE_STORAGE_SECRET - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- azureBlobContainerStrategy - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AzureBlobDataAccessor - Class in com.github.ambry.cloud.azure
-
Data accessor class for Azure Blob Storage.
- AzureBlobDataAccessor(CloudConfig, AzureCloudConfig, AzureBlobLayoutStrategy, AzureMetrics) - Constructor for class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Production constructor
- AzureBlobLayoutStrategy - Class in com.github.ambry.cloud.azure
-
Strategy class that decides where Ambry blobs and tokens are stored in the Azure storage.
- AzureBlobLayoutStrategy(String) - Constructor for class com.github.ambry.cloud.azure.AzureBlobLayoutStrategy
-
Test constructor
- AzureBlobLayoutStrategy(String, AzureCloudConfig) - Constructor for class com.github.ambry.cloud.azure.AzureBlobLayoutStrategy
-
Constuctor for
AzureBlobLayoutStrategy
. - AzureCloudConfig - Class in com.github.ambry.cloud.azure
-
The configs for cloud related configurations.
- AzureCloudConfig(VerifiableProperties) - Constructor for class com.github.ambry.cloud.azure.AzureCloudConfig
- AzureCloudDestinationFactory - Class in com.github.ambry.cloud.azure
-
Factory for constructing
AzureCloudDestination
instances. - AzureCloudDestinationFactory(VerifiableProperties, MetricRegistry, ClusterMap) - Constructor for class com.github.ambry.cloud.azure.AzureCloudDestinationFactory
-
Constructor for
AzureCloudDestinationFactory
- AzureCompactionUtil - Class in com.github.ambry.cloud.azure
-
Utility class to help with blob compaction.
- AzureCompactionUtil() - Constructor for class com.github.ambry.cloud.azure.AzureCompactionUtil
- AzureContainerCompactor - Class in com.github.ambry.cloud.azure
-
Class that compacts containers in the Azure cloud by purging blobs of deprecated containers from ABS and Cosmos.
- AzureContainerCompactor(AzureBlobDataAccessor, CosmosDataAccessor, CloudConfig, AzureCloudConfig, VcrMetrics, AzureMetrics) - Constructor for class com.github.ambry.cloud.azure.AzureContainerCompactor
-
Constructor for
AzureContainerCompactor
. - azureMetrics - Variable in class com.github.ambry.cloud.azure.StorageClient
- AzureMetrics - Class in com.github.ambry.cloud.azure
- AzureMetrics(MetricRegistry) - Constructor for class com.github.ambry.cloud.azure.AzureMetrics
- azureNameSchemeVersion - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- azurePurgeBatchSize - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- AzureReplicationFeed - Interface in com.github.ambry.cloud.azure
-
The replication feed that provides next list of blobs to replicate from Azure, and a bookmark in form of
FindToken
. - AzureReplicationFeed.FeedType - Enum in com.github.ambry.cloud.azure
- azureStorageAuthority - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Azure storage authority.
- azureStorageClientClass - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Factory class to instantiate azure storage client.
- azureStorageClientId - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Azure storage client id.
- AzureStorageCompactor - Class in com.github.ambry.cloud.azure
-
Class that compacts partitions in the Azure cloud by purging inactive blobs from ABS and Cosmos.
- AzureStorageCompactor(AzureBlobDataAccessor, CosmosDataAccessor, CloudConfig, VcrMetrics, AzureMetrics) - Constructor for class com.github.ambry.cloud.azure.AzureStorageCompactor
-
Public constructor.
- azureStorageConnectionString - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The Azure Blob Storage connection string.
- azureStorageEndpoint - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Azure storage endpoint.
- azureStorageScope - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- azureStorageSecret - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Azure storage client secret.
B
- BACKUP_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BACKUP_SUCCESS_BYTE_RATE - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BACKUP_SUCCESS_LATENCY - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- backupErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- backupSuccessByteRate - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- backupSuccessLatency - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DELETE_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DELETE_REQUEST_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DELETED_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DELETION_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DOWNLOAD_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DOWNLOAD_REQUEST_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DOWNLOAD_SUCCESS_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_DOWNLOAD_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPDATE_CONFLICT_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPDATE_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPDATE_RECOVER_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPDATE_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPDATED_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPLOAD_CONFLICT_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPLOAD_REQUEST_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPLOAD_SUCCESS_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- BLOB_UPLOAD_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobCacheHitCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobCacheLookupCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobCompactionRate - Variable in class com.github.ambry.cloud.VcrMetrics
- blobDecryptionCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobDecryptionErrorCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobDecryptionTime - Variable in class com.github.ambry.cloud.VcrMetrics
- blobDeletedCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDeleteErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDeleteRequestCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDeletionTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDownloadErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDownloadRequestCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDownloadSuccessCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobDownloadTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobEncryptionCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobEncryptionErrorCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobEncryptionTime - Variable in class com.github.ambry.cloud.VcrMetrics
- blobUpdateConflictCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
-
Attempts to update blob metadata that fail due to concurrent update (412)
- blobUpdatedCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUpdateErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUpdateRecoverCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUpdateTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUploadConflictCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUploadRequestCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUploadSkippedCount - Variable in class com.github.ambry.cloud.VcrMetrics
- blobUploadSuccessCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- blobUploadTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- buildBlobServiceClient(HttpClient, Configuration, RequestRetryOptions, AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.ADAuthBasedStorageClient
- buildBlobServiceClient(HttpClient, Configuration, RequestRetryOptions, AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.ConnectionStringBasedStorageClient
- buildBlobServiceClient(HttpClient, Configuration, RequestRetryOptions, AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Build
BlobServiceClient
.
C
- cancel() - Method in class com.github.ambry.cloud.DeprecatedContainerCloudSyncTask
- capMetadataListBySize(List<CloudBlobMetadata>, long) - Static method in class com.github.ambry.cloud.CloudBlobMetadata
-
Utility to cap specified
CloudBlobMetadata
list by specified size of its blobs. - CHANGE_FEED_CACHE_HIT_RATE - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CHANGE_FEED_CACHE_MISS_RATE - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CHANGE_FEED_CACHE_REFRESH_RATE - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CHANGE_FEED_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CHANGEFEED_QUERY_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CHANGEFEED_QUERY_FAILURE_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedCacheHitRate - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedCacheMissRate - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedCacheRefreshRate - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedQueryCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedQueryFailureCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- changeFeedQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- checkLocalPartitionStatus(PartitionId, ReplicaId) - Method in class com.github.ambry.cloud.CloudStorageManager
- close() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedBasedReplicationFeed
- close() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeBasedReplicationFeed
- close() - Method in class com.github.ambry.cloud.HelixVcrCluster
- close() - Method in class com.github.ambry.cloud.HelixVcrClusterFactory
- close() - Method in class com.github.ambry.cloud.StaticVcrCluster
- CloudBlobCryptoAgent - Interface in com.github.ambry.cloud
-
Crypto Service to assist in encrypting and decrypting blob chunks transferred between Ambry and the cloud backup.
- CloudBlobCryptoAgentFactory - Interface in com.github.ambry.cloud
-
Factory for constructing
CloudBlobCryptoAgent
instances. - CloudBlobCryptoAgentFactoryImpl - Class in com.github.ambry.cloud
-
Factory for constructing
CloudBlobCryptoAgentImpl
instances. - CloudBlobCryptoAgentFactoryImpl(VerifiableProperties, String, MetricRegistry) - Constructor for class com.github.ambry.cloud.CloudBlobCryptoAgentFactoryImpl
- CloudBlobCryptoAgentImpl - Class in com.github.ambry.cloud
-
Implementation of CloudBlobCryptoAgent, encrypts byte buffers by 1.
- CloudBlobCryptoAgentImpl(CryptoService, KeyManagementService, String) - Constructor for class com.github.ambry.cloud.CloudBlobCryptoAgentImpl
- CloudBlobMetadata - Class in com.github.ambry.cloud
-
Blob metadata document POJO class.
- CloudBlobMetadata() - Constructor for class com.github.ambry.cloud.CloudBlobMetadata
-
Default constructor (for JSONSerializer).
- CloudBlobMetadata(BlobId, long, long, long, CloudBlobMetadata.EncryptionOrigin) - Constructor for class com.github.ambry.cloud.CloudBlobMetadata
-
Constructor from
BlobId
. - CloudBlobMetadata(BlobId, long, long, long, CloudBlobMetadata.EncryptionOrigin, short) - Constructor for class com.github.ambry.cloud.CloudBlobMetadata
-
Constructor from
BlobId
. - CloudBlobMetadata(BlobId, long, long, long, CloudBlobMetadata.EncryptionOrigin, String, String, long, short) - Constructor for class com.github.ambry.cloud.CloudBlobMetadata
-
Constructor from
BlobId
. - CloudBlobMetadata.EncryptionOrigin - Enum in com.github.ambry.cloud
-
Possible values of encryption origin for cloud stored blobs.
- CloudContainerCompactor - Interface in com.github.ambry.cloud
-
Interface that provides methods for compacting deprecated container from assigned partitions.
- CloudDestination - Interface in com.github.ambry.cloud
-
An interface representing an interaction with a cloud destination, that allows replicating blob operations.
- CloudDestinationFactory - Interface in com.github.ambry.cloud
-
A factory for creating instances of
CloudDestination
. - CloudRequestAgent - Class in com.github.ambry.cloud
-
Utility class to issue cloud requests with retries and throttling.
- CloudRequestAgent(CloudConfig, VcrMetrics) - Constructor for class com.github.ambry.cloud.CloudRequestAgent
- CloudStorageCompactor - Class in com.github.ambry.cloud
-
Class that runs scheduled or on-demand compaction of blobs in cloud storage.
- CloudStorageCompactor(CloudDestination, CloudConfig, Set<PartitionId>, VcrMetrics) - Constructor for class com.github.ambry.cloud.CloudStorageCompactor
-
Public constructor.
- CloudStorageException - Exception in com.github.ambry.cloud
-
Exception class indicating an error moving data between Ambry and cloud storage.
- CloudStorageException(String) - Constructor for exception com.github.ambry.cloud.CloudStorageException
- CloudStorageException(String, Throwable) - Constructor for exception com.github.ambry.cloud.CloudStorageException
- CloudStorageException(String, Throwable, int, boolean, Long) - Constructor for exception com.github.ambry.cloud.CloudStorageException
- CloudStorageManager - Class in com.github.ambry.cloud
-
The storage manager that does book keeping for all of the partitions handled by this vcr node.
- CloudStorageManager(VerifiableProperties, VcrMetrics, CloudDestination, ClusterMap) - Constructor for class com.github.ambry.cloud.CloudStorageManager
- CloudTokenPersistor - Class in com.github.ambry.cloud
-
CloudTokenPersistor
persists replication token to a cloud storage. - CloudTokenPersistor(String, Map<String, Set<PartitionInfo>>, ReplicationMetrics, ClusterMap, FindTokenHelper, CloudDestination) - Constructor for class com.github.ambry.cloud.CloudTokenPersistor
-
Constructor for
CloudTokenPersistor
. - CloudUpdateValidator - Interface in com.github.ambry.cloud
-
Interface for Ambry validation logic for updates requested from cloud destination.
- com.github.ambry.cloud - package com.github.ambry.cloud
- com.github.ambry.cloud.azure - package com.github.ambry.cloud.azure
- compactAssignedDeprecatedContainers(Collection<? extends PartitionId>) - Method in class com.github.ambry.cloud.azure.AzureContainerCompactor
-
Compact blobs of the deprecated container from cloud.
- compactAssignedDeprecatedContainers(Collection<? extends PartitionId>) - Method in interface com.github.ambry.cloud.CloudContainerCompactor
-
Compact deprecated containers from partitions assigned to this vcr node.
- COMPACTION_PROGRESS_READ_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- COMPACTION_PROGRESS_WRITE_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- compactionFailureCount - Variable in class com.github.ambry.cloud.VcrMetrics
- compactionProgressReadErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- compactionProgressWriteErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- compactionShutdownTimeoutCount - Variable in class com.github.ambry.cloud.VcrMetrics
- compactPartition(String) - Method in class com.github.ambry.cloud.azure.AzureStorageCompactor
-
Purge the inactive blobs in the specified partition.
- compactPartition(String) - Method in interface com.github.ambry.cloud.CloudDestination
-
Compact the specified partition, removing blobs that have been deleted or expired for at least the configured retention period.
- compactPartitions() - Method in class com.github.ambry.cloud.CloudStorageCompactor
-
Purge the inactive blobs in all managed partitions.
- CONFIG_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- configErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- ConnectionStringBasedStorageClient - Class in com.github.ambry.cloud.azure
-
StorageClient
implementation based on connection string authentication. - ConnectionStringBasedStorageClient(BlobServiceClient, BlobBatchClient, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.ConnectionStringBasedStorageClient
-
Constructor for
ConnectionStringBasedStorageClient
object for testing. - ConnectionStringBasedStorageClient(CloudConfig, AzureCloudConfig, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.ConnectionStringBasedStorageClient
-
Constructor for
ConnectionStringBasedStorageClient
. - CONTAINER_COMPACTION_ABS_PURGE_LIMIT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- CONTAINER_COMPACTION_COSMOS_QUERY_LIMIT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- CONTAINER_DELETION_DOCUMENT_CREATE_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- CONTAINER_DELETION_ENTRY_READ_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- containerCompactionAbsPurgeLimit - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Number of blobs to purge from ABS in each container compaction purge request.
- containerCompactionCosmosQueryLimit - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- containerDeprecationDocumentCreateTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- continerDeletionEntryReadTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- controlCompactionForBlobStore(PartitionId, boolean) - Method in class com.github.ambry.cloud.CloudStorageManager
- COSMOS_CHANGE_FEED - com.github.ambry.cloud.azure.AzureReplicationFeed.FeedType
-
Replication feed is obtained from cosmos change feed api
- COSMOS_COLLECTION_LINK - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_CONTAINER_DELETION_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_CONTINUATION_TOKEN_LIMIT_KB - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_DELETED_CONTAINER_COLLECTION_LINK - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_DIRECT_HTTPS - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_ENDPOINT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_KEY - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_LAST_UPDATED_COLUMN - Static variable in class com.github.ambry.cloud.azure.CosmosDataAccessor
- COSMOS_PURGE_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_QUERY_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_REQUEST_CHARGE_THRESHOLD - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- COSMOS_UPDATE_TIME - com.github.ambry.cloud.azure.AzureReplicationFeed.FeedType
-
Replication feed is obtained from cosmos queries ordered by update time
- CosmosChangeFeedBasedReplicationFeed - Class in com.github.ambry.cloud.azure
-
The replication feed that provides next list of blobs to replicate from Azure and corresponding
FindToken
using Cosmos change feed apis. - CosmosChangeFeedBasedReplicationFeed(CosmosDataAccessor, AzureMetrics, int) - Constructor for class com.github.ambry.cloud.azure.CosmosChangeFeedBasedReplicationFeed
-
Constructor to create a
CosmosChangeFeedBasedReplicationFeed
object. - CosmosChangeFeedFindToken - Class in com.github.ambry.cloud.azure
-
Class representing the replication token to track replication progress using Cosmos change feed.
- CosmosChangeFeedFindToken() - Constructor for class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Default constructor to create a
CosmosChangeFeedFindToken
with uninitialized continuation token. - CosmosChangeFeedFindToken(long, String, String, int, int, String) - Constructor for class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Create
CosmosChangeFeedFindToken
from provided values. - CosmosChangeFeedFindToken(long, String, String, int, int, String, short) - Constructor for class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Constructor to create a
CosmosChangeFeedFindToken
with specified token values and specified version. - CosmosChangeFeedFindTokenFactory - Class in com.github.ambry.cloud.azure
-
Factory that creates
CosmosChangeFeedFindToken
objects. - CosmosChangeFeedFindTokenFactory() - Constructor for class com.github.ambry.cloud.azure.CosmosChangeFeedFindTokenFactory
- cosmosCollectionLink - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The link (URL) for the Cosmos DB metadata collection.
- cosmosContainerDeletionBatchSize - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- CosmosContainerDeletionEntry - Class in com.github.ambry.cloud.azure
-
Class representing container deletion status in cloud.
- CosmosContainerDeletionEntry(short, short, long, boolean, Collection<String>) - Constructor for class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
-
Constructor for
CosmosContainerDeletionEntry
. - cosmosContinuationTokenLimitKb - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The size limit in KB on Cosmos continuation token.
- CosmosDataAccessor - Class in com.github.ambry.cloud.azure
- cosmosDeletedContainerCollectionLink - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The link (URL) for the Cosmos DB deleted container collection.
- cosmosDirectHttps - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Flag indicating whether to use DirectHttps CosmosDB connection mode.
- cosmosEndpoint - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The Cosmos DB endpoint.
- cosmosKey - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The Cosmos DB connection key.
- cosmosPurgeBatchSize - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- cosmosQueryBatchSize - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
Max number of metadata records to fetch in a single Cosmos query.
- cosmosRequestChargeThreshold - Variable in class com.github.ambry.cloud.azure.AzureCloudConfig
-
The Cosmos request charge threshold to log.
- CosmosUpdateTimeBasedReplicationFeed - Class in com.github.ambry.cloud.azure
-
The replication feed that provides next list of blobs to replicate from Azure and corresponding
FindToken
using Cosmos update time field. - CosmosUpdateTimeBasedReplicationFeed(CosmosDataAccessor, AzureMetrics, int) - Constructor for class com.github.ambry.cloud.azure.CosmosUpdateTimeBasedReplicationFeed
-
Constructor for
CosmosUpdateTimeBasedReplicationFeed
object. - CosmosUpdateTimeFindToken - Class in com.github.ambry.cloud.azure
-
FindToken
object to act as bookmark for replication based on Cosmos update time field. - CosmosUpdateTimeFindToken() - Constructor for class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Constructor for start token
- CosmosUpdateTimeFindToken(long, long, Set<String>) - Constructor for class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Constructor for in-progress token
- CosmosUpdateTimeFindToken(short, long, long, Set<String>) - Constructor for class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Constructor for reading token that can have older version
- CosmosUpdateTimeFindTokenFactory - Class in com.github.ambry.cloud.azure
-
Factory that creates
CosmosUpdateTimeFindTokenFactory
objects. - CosmosUpdateTimeFindTokenFactory() - Constructor for class com.github.ambry.cloud.azure.CosmosUpdateTimeFindTokenFactory
- createBlobStorageClient() - Method in class com.github.ambry.cloud.azure.StorageClient
-
Create the
BlobServiceClient
object. - createNewStateModel(String, String) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModelFactory
-
Create and return an instance of
LeaderStandbyHelixVcrStateModel
- createNewStateModel(String, String) - Method in class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModelFactory
-
Create and return an instance of
OnlineOfflineHelixVcrStateModel
D
- DEAD_BLOBS_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- deadBlobsQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- decrypt(ByteBuffer) - Method in interface com.github.ambry.cloud.CloudBlobCryptoAgent
-
Decrypts the blob buffer being downloaded from cloud storage.
- decrypt(ByteBuffer) - Method in class com.github.ambry.cloud.CloudBlobCryptoAgentImpl
- DEFAULT_AZURE_STORAGE_CLIENT_CLASS - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_CONTAINER_COMPACTION_ABS_PURGE_LIMIT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_CONTAINER_COMPACTION_COSMOS_QUERY_LIMIT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_CONTAINER_STRATEGY - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_COSMOS_CONTAINER_DELETION_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_COSMOS_CONTINUATION_TOKEN_LIMIT - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_COSMOS_REQUEST_CHARGE_THRESHOLD - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_NAME_SCHEME_VERSION - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_PURGE_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- DEFAULT_QUERY_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- deleteBatch(List<CloudBlobMetadata>, Duration) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Deletes a list of blobs.
- deleteBlob(BlobId, long, short, CloudUpdateValidator) - Method in interface com.github.ambry.cloud.CloudDestination
-
Mark a blob as deleted in the cloud destination, if
lifeVersion
is less than or equal to life version of the existing blob. - DELETED_CONTAINER_BLOBS_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- deletedContainerBlobsQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- deprecateContainers(Collection<Container>) - Method in interface com.github.ambry.cloud.CloudDestination
-
Deprecate the specified
Container
s in cloud. - deprecateContainers(Collection<Container>, Collection<String>) - Method in class com.github.ambry.cloud.azure.AzureContainerCompactor
-
Update newly deprecated containers from
deprecatedContainers
to CosmosDb since last checkpoint. - deprecateContainers(Set<CosmosContainerDeletionEntry>) - Method in class com.github.ambry.cloud.azure.CosmosDataAccessor
-
Add the
CosmosContainerDeletionEntry
for newly deprecatedContainer
s to cosmos table. - DEPRECATED_CONTAINER_COMPACTION_FAILURE_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DEPRECATED_CONTAINER_COMPACTION_SUCCESS_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- deprecatedContainerBlobCompactionRate - Variable in class com.github.ambry.cloud.VcrMetrics
- DeprecatedContainerCloudSyncTask - Class in com.github.ambry.cloud
-
Helix task to get the deprecated containers information from
AccountService
and update it to cloud. - DeprecatedContainerCloudSyncTask(AccountService, long, CloudDestination, VcrMetrics) - Constructor for class com.github.ambry.cloud.DeprecatedContainerCloudSyncTask
-
Constructor for
DeprecatedContainerCloudSyncTask
. - deprecatedContainerCompactionFailureCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- deprecatedContainerCompactionSuccessCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- deprecatedContainerCount - Variable in class com.github.ambry.cloud.VcrMetrics
- deprecationSyncTaskRegistrationFailureCount - Variable in class com.github.ambry.cloud.VcrMetrics
- deprecationTaskRunTime - Variable in class com.github.ambry.cloud.VcrMetrics
- DOCUMENT_CREATE_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DOCUMENT_DELETE_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DOCUMENT_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DOCUMENT_QUERY_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DOCUMENT_READ_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- DOCUMENT_UPDATE_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentCreateTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentDeleteTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentQueryCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentReadTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- documentUpdateTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- doWithRetries(Callable<T>, String, String) - Method in class com.github.ambry.cloud.CloudRequestAgent
-
Execute an action up to the configured number of attempts.
- downloadBlob(BlobId, OutputStream) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Download the blob from Azure storage.
- downloadBlob(BlobId, OutputStream) - Method in interface com.github.ambry.cloud.CloudDestination
-
Download blob from the cloud destination.
- downloadFile(String, String, OutputStream, boolean) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Download a file from blob storage.
- downloadWithResponse(String, String, boolean, OutputStream, BlobRange, DownloadRetryOptions, BlobRequestConditions, boolean, Duration) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Downloads a range of bytes from a blob into an output stream.
E
- encrypt(ByteBuffer) - Method in interface com.github.ambry.cloud.CloudBlobCryptoAgent
-
Encrypts the blob buffer being uploaded to cloud storage.
- encrypt(ByteBuffer) - Method in class com.github.ambry.cloud.CloudBlobCryptoAgentImpl
- equals(Object) - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- equals(Object) - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- equals(Object) - Method in class com.github.ambry.cloud.CloudBlobMetadata
F
- FIELD_ACCOUNT_ID - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_CONTAINER_ID - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_CREATION_TIME - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_CRYPTO_AGENT_FACTORY - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_DELETION_TIME - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_ENCRYPTED_SIZE - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_ENCRYPTION_ORIGIN - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_EXPIRATION_TIME - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_ID - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_LIFE_VERSION - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_NAME_SCHEME_VERSION - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_PARTITION_ID - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_SIZE - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_UPLOAD_TIME - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIELD_VCR_KMS_CONTEXT - Static variable in class com.github.ambry.cloud.CloudBlobMetadata
- FIND_SINCE_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- findEntriesSince(String, FindToken, long) - Method in interface com.github.ambry.cloud.CloudDestination
-
Returns an ordered sequenced list of blobs within the specified partition and updated
FindToken
, such that total size of all blobs in the list are less or equal tomaxTotalSizeOfEntries
- FindResult - Class in com.github.ambry.cloud
-
Contains the results from the replication feed after a find next entries operation.
- FindResult(List<CloudBlobMetadata>, FindToken) - Constructor for class com.github.ambry.cloud.FindResult
-
Constructor for
FindResult
- findSinceQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- fromBytes(DataInputStream) - Static method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Deserialize
CosmosChangeFeedFindToken
object from input stream. - fromContainer(Container, Collection<String>) - Static method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- fromJson(JSONObject) - Static method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
-
Create
CosmosContainerDeletionEntry
from specified json. - fromMap(Map<String, String>) - Static method in class com.github.ambry.cloud.CloudBlobMetadata
G
- getAccountId() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getAccountId() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getAllDataNodeIds() - Method in class com.github.ambry.cloud.HelixVcrCluster
- getAllDataNodeIds() - Method in class com.github.ambry.cloud.StaticVcrCluster
- getAssignedPartitionIds() - Method in class com.github.ambry.cloud.HelixVcrCluster
- getAssignedPartitionIds() - Method in class com.github.ambry.cloud.StaticVcrCluster
- getBlobMetadata(BlobId) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Retrieve the metadata for the specified blob.
- getBlobMetadata(List<BlobId>) - Method in interface com.github.ambry.cloud.CloudDestination
-
Query the blob metadata for the specified blobs.
- getBytesRead() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- getBytesRead() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- getCacheSessionId() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Return cacheSessionId of the current token.
- getCloudBlobCryptoAgent() - Method in interface com.github.ambry.cloud.CloudBlobCryptoAgentFactory
- getCloudBlobCryptoAgent() - Method in class com.github.ambry.cloud.CloudBlobCryptoAgentFactoryImpl
- getCloudDestination() - Method in class com.github.ambry.cloud.azure.AzureCloudDestinationFactory
- getCloudDestination() - Method in interface com.github.ambry.cloud.CloudDestinationFactory
- getContainerCompactor() - Method in interface com.github.ambry.cloud.CloudDestination
- getContainerId() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getContainerId() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getCreationTime() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getCryptoAgentFactory() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getCurrentDataNodeId() - Method in class com.github.ambry.cloud.HelixVcrCluster
- getCurrentDataNodeId() - Method in class com.github.ambry.cloud.StaticVcrCluster
- getDataBlobLayout(CloudBlobMetadata) - Method in class com.github.ambry.cloud.azure.AzureBlobLayoutStrategy
- getDataBlobLayout(BlobId) - Method in class com.github.ambry.cloud.azure.AzureBlobLayoutStrategy
- getDeletePendingPartitions() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getDeleteTriggerTimestamp() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getDeletionTime() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getDeprecatedContainers(int) - Method in class com.github.ambry.cloud.azure.CosmosDataAccessor
-
Fetch a
Set
ofCosmosContainerDeletionEntry
objects from cosmos db that are not marked as deleted. - getEncryptedSize() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getEncryptionContext() - Method in interface com.github.ambry.cloud.CloudBlobCryptoAgent
-
Returns the encryption context (if any)
- getEncryptionContext() - Method in class com.github.ambry.cloud.CloudBlobCryptoAgentImpl
- getEncryptionOrigin() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getEndContinuationToken() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- getExpirationTime() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getFindToken(DataInputStream) - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindTokenFactory
- getFindToken(DataInputStream) - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindTokenFactory
- getId() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getId() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getIndex() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Return index of the current token.
- getLastUpdateTime() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Return
lastUpdateTime
. - getLastUpdateTime() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getLastUpdateTimeReadBlobIds() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Return
lastUpdateTimeReadBlobIds
- getLatestContainerDeletionTimestamp() - Method in class com.github.ambry.cloud.azure.AzureContainerCompactor
- getLifeVersion() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getLocalPartitions() - Method in class com.github.ambry.cloud.CloudStorageManager
- getMetadataList() - Method in class com.github.ambry.cloud.FindResult
-
Return
List
ofCloudBlobMetadata
objects. - getMetricRegistry() - Method in class com.github.ambry.cloud.VcrMetrics
- getNameSchemeVersion() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getNewFindToken() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindTokenFactory
- getNewFindToken() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindTokenFactory
- getNextEntriesAndUpdatedToken(FindToken, long, String) - Method in interface com.github.ambry.cloud.azure.AzureReplicationFeed
-
Returns an ordered sequenced list of blobs within the specified partition and updated
FindToken
, such that total size of all blobs in the list are less or equal tomaxTotalSizeOfEntries
. - getNextEntriesAndUpdatedToken(FindToken, long, String) - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedBasedReplicationFeed
-
Get next set of change feed entries for the specified partition, after the
curFindToken
. - getNextEntriesAndUpdatedToken(FindToken, long, String) - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeBasedReplicationFeed
- getPartitionId() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getPropertiesWithResponse(BlobId, BlobRequestConditions, Duration) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Returns the blob's metadata and properties.
- getRemoteReplicaLag(Store, long) - Method in class com.github.ambry.cloud.VcrRequests
- getRemoteReplicaLagFromLocalInBytes(PartitionId, String, String) - Method in class com.github.ambry.cloud.VcrReplicationManager
- getReplica(String) - Method in class com.github.ambry.cloud.CloudStorageManager
- getReplicationFeedType(VerifiableProperties) - Static method in class com.github.ambry.cloud.azure.AzureCloudDestinationFactory
-
Derive the replication feed type to use from the type of token factory passed in the config.
- getRetryDelayMs() - Method in exception com.github.ambry.cloud.CloudStorageException
- getSize() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getStartContinuationToken() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Return startContinuationToken of the current token.
- getStatusCode() - Method in exception com.github.ambry.cloud.CloudStorageException
- getStorageClient() - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Visible for testing.
- getStorageClient() - Method in class com.github.ambry.cloud.azure.StorageClient
-
Visible for testing.
- getStore(PartitionId) - Method in class com.github.ambry.cloud.CloudStorageManager
- getTokenBlobLayout(String, String) - Method in class com.github.ambry.cloud.azure.AzureBlobLayoutStrategy
- getTotalItems() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Return totalitems in the current token.
- getType() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- getType() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- getUpdatedFindToken() - Method in class com.github.ambry.cloud.FindResult
-
Return updated
FindToken
- getUpdatedToken(CosmosUpdateTimeFindToken, List<CloudBlobMetadata>) - Static method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
-
Utility to construct a new CloudFindToken from a previous instance and the results of a findEntriesSince query.
- getUploadTime() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getVcrKmsContext() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- getVcrMetrics() - Method in class com.github.ambry.cloud.VcrReplicationManager
- getVcrReplicationManager() - Method in class com.github.ambry.cloud.VcrServer
- getVersion() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- getVersion() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- getVersion() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- getVirtualReplicatorCluster() - Method in class com.github.ambry.cloud.HelixVcrClusterFactory
- getVirtualReplicatorCluster() - Method in class com.github.ambry.cloud.StaticVcrClusterFactory
- getVirtualReplicatorCluster() - Method in class com.github.ambry.cloud.VcrServer
H
- handleDeleteRequest(NetworkRequest) - Method in class com.github.ambry.cloud.VcrRequests
- handleExceptionAndHintRetry(BlobStorageException) - Method in class com.github.ambry.cloud.azure.ADAuthBasedStorageClient
- handleExceptionAndHintRetry(BlobStorageException) - Method in class com.github.ambry.cloud.azure.ConnectionStringBasedStorageClient
- handleExceptionAndHintRetry(BlobStorageException) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Check if the exception can be handled and return a flag indicating if it can be retried.
- handlePutRequest(NetworkRequest) - Method in class com.github.ambry.cloud.VcrRequests
- handleTtlUpdateRequest(NetworkRequest) - Method in class com.github.ambry.cloud.VcrRequests
- hashCode() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- hashCode() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- helixVcrCluster - Variable in class com.github.ambry.cloud.VcrStateModelFactory
- HelixVcrCluster - Class in com.github.ambry.cloud
-
Helix Based VCR Cluster.
- HelixVcrCluster(CloudConfig, ClusterMapConfig, StoreConfig, ClusterMap, AccountService, CloudDestination, VcrMetrics) - Constructor for class com.github.ambry.cloud.HelixVcrCluster
-
Construct the helix VCR cluster.
- HelixVcrClusterFactory - Class in com.github.ambry.cloud
-
HelixVcrClusterFactory
to generateHelixVcrCluster
for dynamic partition assignment. - HelixVcrClusterFactory(CloudConfig, ClusterMapConfig, ClusterMap, AccountService, StoreConfig, CloudDestination, MetricRegistry) - Constructor for class com.github.ambry.cloud.HelixVcrClusterFactory
-
Constructor for
HelixVcrClusterFactory
- HelixVcrClusterMetrics - Class in com.github.ambry.cloud
- HelixVcrClusterMetrics(MetricRegistry, Set<PartitionId>) - Constructor for class com.github.ambry.cloud.HelixVcrClusterMetrics
I
- isCompactionCandidate(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
- isDeleted() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
- isDeleted() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- isExpired() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- isPartitionAssigned(String) - Method in class com.github.ambry.cloud.HelixVcrCluster
- isPartitionAssigned(String) - Method in class com.github.ambry.cloud.StaticVcrCluster
- isRetryable() - Method in exception com.github.ambry.cloud.CloudStorageException
- isUndeleted() - Method in class com.github.ambry.cloud.CloudBlobMetadata
L
- LAST_CONTAINER_DELETION_TIMESTAMP - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- LeaderStandbyHelixVcrStateModel - Class in com.github.ambry.cloud
-
StateModel
to use when the VCR participants register to Helix. - LeaderStandbyHelixVcrStateModelFactory - Class in com.github.ambry.cloud
-
A factory for creating
LeaderStandbyHelixVcrStateModel
- LeaderStandbyHelixVcrStateModelFactory(HelixVcrCluster) - Constructor for class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModelFactory
-
Constructor for
LeaderStandbyHelixVcrStateModelFactory
.
M
- main(String[]) - Static method in class com.github.ambry.cloud.VcrMain
- markDeleted() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
-
Mark the container as deleted in cloud.
- MAX_PURGE_BATCH_SIZE - Static variable in class com.github.ambry.cloud.azure.AzureCloudConfig
- MISSING_KEYS_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- missingKeysQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
N
- NONE - com.github.ambry.cloud.CloudBlobMetadata.EncryptionOrigin
-
Not encrypted by Ambry
- numberOfAssignedPartitions - Variable in class com.github.ambry.cloud.HelixVcrClusterMetrics
O
- onBecomeDroppedFromOffline(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- onBecomeLeaderFromStandby(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- onBecomeOfflineFromLeader(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- onBecomeOfflineFromStandby(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- onBecomeStandbyFromLeader(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- onBecomeStandbyFromOffline(Message, NotificationContext) - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- OnlineOfflineHelixVcrStateModel - Class in com.github.ambry.cloud
-
StateModel
to use when the VCR participants register to Helix. - OnlineOfflineHelixVcrStateModelFactory - Class in com.github.ambry.cloud
-
A factory for creating
OnlineOfflineHelixVcrStateModel
- OnlineOfflineHelixVcrStateModelFactory(HelixVcrCluster) - Constructor for class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModelFactory
- onTransitionToDroppedFromOffline(Message, NotificationContext) - Method in class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModel
- onTransitionToOfflineFromOnline(Message, NotificationContext) - Method in class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModel
- onTransitionToOnlineFromOffline(Message, NotificationContext) - Method in class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModel
P
- participate() - Method in class com.github.ambry.cloud.HelixVcrCluster
- participate() - Method in class com.github.ambry.cloud.StaticVcrCluster
- partitionIdNotInClusterMapOnAdd - Variable in class com.github.ambry.cloud.HelixVcrClusterMetrics
- partitionIdNotInClusterMapOnRemove - Variable in class com.github.ambry.cloud.HelixVcrClusterMetrics
- persist(String, List<RemoteReplicaInfo.ReplicaTokenInfo>) - Method in class com.github.ambry.cloud.CloudTokenPersistor
- persistTokens(String, String, InputStream) - Method in interface com.github.ambry.cloud.CloudDestination
-
Upload and persist the replica tokens for the specified Ambry partition in cloud storage.
- purgeBlobs(List<CloudBlobMetadata>) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Permanently delete the specified blobs in Azure storage.
Q
- queryChangeFeed(String, int, List<CloudBlobMetadata>, String, Timer) - Method in class com.github.ambry.cloud.azure.CosmosDataAccessor
-
Query Cosmos change feed to get the next set of
CloudBlobMetadata
objects in specifiedpartitionPath
afterrequestContinationToken
, capped by specifiedmaxFeedSize
representing the max number of items to be queried from the change feed.
R
- removeBlobStore(PartitionId) - Method in class com.github.ambry.cloud.CloudStorageManager
- removePartition(String) - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
-
Remove a delete pending partition.
- removePartition(String) - Method in class com.github.ambry.cloud.HelixVcrCluster
-
Remove
PartitionId
from assignedPartitionIds set, if {@param partitionIdStr} valid. - removePartitionErrorCount - Variable in class com.github.ambry.cloud.VcrMetrics
- REPLICATION_FEED_QUERY_TIME - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- replicationFeedQueryTime - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- reset() - Method in class com.github.ambry.cloud.LeaderStandbyHelixVcrStateModel
- reset() - Method in class com.github.ambry.cloud.OnlineOfflineHelixVcrStateModel
- retrieve(String) - Method in class com.github.ambry.cloud.CloudTokenPersistor
- retrieveTokens(String, String, OutputStream) - Method in interface com.github.ambry.cloud.CloudDestination
-
Retrieve the persisted replica tokens, if any, for the specified Ambry partition.
- retryCount - Variable in class com.github.ambry.cloud.VcrMetrics
-
Number of times operation was retried
- retryWaitTimeMsec - Variable in class com.github.ambry.cloud.VcrMetrics
-
Number of msec spent waiting between retries
- ROUTER - com.github.ambry.cloud.CloudBlobMetadata.EncryptionOrigin
-
Encrypted by Router
- run() - Method in class com.github.ambry.cloud.CloudStorageCompactor
- run() - Method in class com.github.ambry.cloud.DeprecatedContainerCloudSyncTask
S
- scheduleNextForCompaction(PartitionId) - Method in class com.github.ambry.cloud.CloudStorageManager
- setAccountId(int) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the account Id.
- setBlobStoreStoppedState(List<PartitionId>, boolean) - Method in class com.github.ambry.cloud.CloudStorageManager
- setClientReferences(BlobServiceClient) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Set the references for storage and blob clients atomically.
- setContainerId(int) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the container Id.
- setCreationTime(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the creation time.
- setCryptoAgentFactory(String) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the VCR crypto agent factory class name.
- setDeletionTime(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the blob deletion time.
- setEncryptedSize(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the encrypted size of the blob
- setEncryptionOrigin(CloudBlobMetadata.EncryptionOrigin) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the encryption origin.
- setExpirationTime(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the blob expiration time.
- setId(String) - Method in class com.github.ambry.cloud.CloudBlobMetadata
- setLastUpdateTime(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the last update time of the blob.
- setLifeVersion(short) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the life version of the blob.
- setMetadataWithResponse(BlobId, Map<String, String>, BlobRequestConditions, Duration, Context) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Changes a blob's metadata.
- setNameSchemeVersion(int) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the blob naming scheme version.
- setPartitionId(String) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the partition Id.
- setSize(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the size.
- setUploadTime(long) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Set the upload time.
- setVcrKmsContext(String) - Method in class com.github.ambry.cloud.CloudBlobMetadata
-
Sets the VCR KMS context.
- shutdown() - Method in class com.github.ambry.cloud.azure.AzureContainerCompactor
-
Shut down the compactor waiting for in progress operations to complete.
- shutdown() - Method in class com.github.ambry.cloud.azure.AzureStorageCompactor
-
Shut down the compactor waiting for in progress operations to complete.
- shutdown() - Method in interface com.github.ambry.cloud.CloudContainerCompactor
-
Shutdown the compactor.
- shutdown() - Method in class com.github.ambry.cloud.CloudStorageCompactor
-
Shut down the compactor waiting for in progress operations to complete.
- shutdown() - Method in class com.github.ambry.cloud.VcrReplicationManager
- shutdown() - Method in class com.github.ambry.cloud.VcrServer
-
This method is expected to be called in the exit path as long as the AmbryServer instance construction was successful.
- shutdownBlobStore(PartitionId) - Method in class com.github.ambry.cloud.CloudStorageManager
- size() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Calculate size of the token.
- start() - Method in class com.github.ambry.cloud.VcrReplicationManager
- startBlobStore(PartitionId) - Method in class com.github.ambry.cloud.CloudStorageManager
- startup() - Method in class com.github.ambry.cloud.VcrServer
-
Start the VCR Server.
- StaticVcrCluster - Class in com.github.ambry.cloud
-
VCR Cluster based on static partition assignment.
- StaticVcrCluster(CloudConfig, ClusterMapConfig, ClusterMap) - Constructor for class com.github.ambry.cloud.StaticVcrCluster
-
Construct the static VCR cluster.
- StaticVcrClusterFactory - Class in com.github.ambry.cloud
-
StaticVcrClusterFactory
to generate VCR Cluster for static partition assignment. - StaticVcrClusterFactory(CloudConfig, ClusterMapConfig, ClusterMap, AccountService, StoreConfig, CloudDestination, MetricRegistry) - Constructor for class com.github.ambry.cloud.StaticVcrClusterFactory
- stopCompaction() - Method in interface com.github.ambry.cloud.CloudDestination
-
Halt any compactions in progress.
- STORAGE_CLIENT_FAILURE_AFTER_RETRY_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- STORAGE_CLIENT_OPERATION_EXCEPTION_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- STORAGE_CLIENT_OPERATION_RETRY_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- STORAGE_ERROR_COUNT - Static variable in class com.github.ambry.cloud.azure.AzureMetrics
- StorageClient - Class in com.github.ambry.cloud.azure
-
Abstract class encapsulation ABS client operations.
- StorageClient(BlobServiceClient, BlobBatchClient, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.StorageClient
-
Constructor for
StorageClient
. - StorageClient(CloudConfig, AzureCloudConfig, AzureMetrics, AzureBlobLayoutStrategy) - Constructor for class com.github.ambry.cloud.azure.StorageClient
-
Constructor for
StorageClient
. - storageClientFailureAfterRetryCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- storageClientOperationExceptionCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- storageClientOperationRetryCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
- storageErrorCount - Variable in class com.github.ambry.cloud.azure.AzureMetrics
T
- toBytes() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
-
Serialize
CosmosChangeFeedFindToken
to byte array. - toBytes() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- toJson() - Method in class com.github.ambry.cloud.azure.CosmosContainerDeletionEntry
-
Serialize
Container
object to save to Cosmos. - tokenReloadWarnCount - Variable in class com.github.ambry.cloud.VcrMetrics
- toMap() - Method in class com.github.ambry.cloud.CloudBlobMetadata
- toString() - Method in class com.github.ambry.cloud.azure.CosmosChangeFeedFindToken
- toString() - Method in class com.github.ambry.cloud.azure.CosmosUpdateTimeFindToken
- trackLatestContainerDeletionTimestamp(AzureContainerCompactor) - Method in class com.github.ambry.cloud.azure.AzureMetrics
-
Tracks the timestamp upto which the cloud container compaction has caught up with the account service.
U
- undeleteBlob(BlobId, short, CloudUpdateValidator) - Method in interface com.github.ambry.cloud.CloudDestination
-
Undelete the blob from cloud destination, and update the new life version.
- updateBlobExpiration(BlobId, long, CloudUpdateValidator) - Method in interface com.github.ambry.cloud.CloudDestination
-
Update expiration time of blob in the cloud destination.
- updateBlobMetadata(BlobId, Map<String, Object>, CloudUpdateValidator) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Update the metadata for the specified blob.
- updateTotalBytesReadByRemoteReplica(PartitionId, String, String, long) - Method in class com.github.ambry.cloud.VcrReplicationManager
- updateTtlNotSetError - Variable in class com.github.ambry.cloud.VcrMetrics
- uploadBlob(BlobId, long, CloudBlobMetadata, InputStream) - Method in interface com.github.ambry.cloud.CloudDestination
-
Upload blob to the cloud destination.
- uploadFile(String, String, InputStream) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Upload a file to blob storage.
- uploadIfNotExists(BlobId, long, CloudBlobMetadata, InputStream) - Method in class com.github.ambry.cloud.azure.AzureBlobDataAccessor
-
Upload the blob to Azure storage if it does not already exist in the designated container.
- uploadWithResponse(BlobId, InputStream, long, BlobHttpHeaders, Map<String, String>, AccessTier, byte[], BlobRequestConditions, Duration) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Creates a new block blob, or updates the content of an existing block blob.
- uploadWithResponse(String, String, boolean, InputStream, long, BlobHttpHeaders, Map<String, String>, AccessTier, byte[], BlobRequestConditions, Duration) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Creates a new block blob, or updates the content of an existing block blob.
V
- validateABSAuthConfigs(AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.ADAuthBasedStorageClient
- validateABSAuthConfigs(AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.ConnectionStringBasedStorageClient
-
Validate that all the required configs for connection string based authentication are present.
- validateABSAuthConfigs(AzureCloudConfig) - Method in class com.github.ambry.cloud.azure.StorageClient
-
Validate that all the required configs for ABS authentication are present.
- validateRequest(PartitionId, RequestOrResponseType, boolean) - Method in class com.github.ambry.cloud.VcrRequests
- validateUpdate(CloudBlobMetadata, StoreKey, Map<String, Object>) - Method in interface com.github.ambry.cloud.CloudUpdateValidator
-
Validate the sanity of update operation on given
updateFields
against existingCloudBlobMetadata
in cloud destination for the blob with keykey
. - valueOf(String) - Static method in enum com.github.ambry.cloud.azure.AzureReplicationFeed.FeedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.ambry.cloud.CloudBlobMetadata.EncryptionOrigin
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.ambry.cloud.azure.AzureReplicationFeed.FeedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.ambry.cloud.CloudBlobMetadata.EncryptionOrigin
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VCR - com.github.ambry.cloud.CloudBlobMetadata.EncryptionOrigin
-
Encrypted by VCR
- VcrMain - Class in com.github.ambry.cloud
-
Start point for creating an instance of
VcrServer
and starting/shutting it down. - VcrMain() - Constructor for class com.github.ambry.cloud.VcrMain
- VcrMetrics - Class in com.github.ambry.cloud
- VcrMetrics(MetricRegistry) - Constructor for class com.github.ambry.cloud.VcrMetrics
- VcrReplicationManager - Class in com.github.ambry.cloud
-
VcrReplicationManager
is used to backup partitions to Cloud. - VcrReplicationManager(CloudConfig, ReplicationConfig, ClusterMapConfig, StoreConfig, StoreManager, StoreKeyFactory, ClusterMap, VirtualReplicatorCluster, CloudDestination, ScheduledExecutorService, ConnectionPool, VcrMetrics, NotificationSystem, StoreKeyConverterFactory, String) - Constructor for class com.github.ambry.cloud.VcrReplicationManager
- VcrRequests - Class in com.github.ambry.cloud
-
Request implementation class for Vcr.
- VcrRequests(StoreManager, RequestResponseChannel, ClusterMap, DataNodeId, MetricRegistry, ServerMetrics, FindTokenHelper, NotificationSystem, ReplicationEngine, StoreKeyFactory, StoreKeyConverterFactory) - Constructor for class com.github.ambry.cloud.VcrRequests
- VcrServer - Class in com.github.ambry.cloud
-
Virtual Cloud Replicator server
- VcrServer(VerifiableProperties, ClusterAgentsFactory, NotificationSystem, Function<MetricRegistry, JmxReporter>) - Constructor for class com.github.ambry.cloud.VcrServer
-
VcrServer constructor.
- VcrStateModelFactory - Class in com.github.ambry.cloud
-
An abstract class to create
StateModelFactory
for vcr. - VcrStateModelFactory() - Constructor for class com.github.ambry.cloud.VcrStateModelFactory
All Classes All Packages