A B C D F G H I J L M N O P R S T U V 
All Classes All Packages

A

ACCOUNT_DATA_INCONSISTENCY_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_DELETES_TO_AMBRY_SERVER_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_FETCH_FROM_AMBRY_SERVER_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_FETCH_FROM_AMBRY_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_ID - Static variable in class com.github.ambry.account.mysql.AccountDao
 
ACCOUNT_INFO - Static variable in class com.github.ambry.account.mysql.AccountDao
 
ACCOUNT_TABLE - Static variable in class com.github.ambry.account.mysql.AccountDao
 
ACCOUNT_UPDATE_CONSUMER_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_UPDATE_TO_AMBRY_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_UPDATES_CAPTURED_BY_SCHEDULED_UPDATER_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_UPDATES_TO_AMBRY_SERVER_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
ACCOUNT_UPDATES_TO_STORE_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
AccountDao - Class in com.github.ambry.account.mysql
Account Data Access Object.
AccountDao(MySqlDataAccessor) - Constructor for class com.github.ambry.account.mysql.AccountDao
 
AccountDao.StatementType - Enum in com.github.ambry.account.mysql
Types of MySql statements.
accountDeletesToAmbryServerErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountFetchFromAmbryServerErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountFetchFromAmbryTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountServiceConfig - Variable in class com.github.ambry.account.HelixAccountServiceFactory
 
accountServiceConfig - Variable in class com.github.ambry.account.MySqlAccountServiceFactory
 
accountServiceMetrics - Variable in class com.github.ambry.account.CompositeAccountServiceFactory
 
accountServiceMetrics - Variable in class com.github.ambry.account.HelixAccountServiceFactory
 
accountServiceMetrics - Variable in class com.github.ambry.account.MySqlAccountServiceFactory
 
AccountServiceMetrics - Class in com.github.ambry.account
AccountService specific metrics tracking.
AccountServiceMetrics(MetricRegistry) - Constructor for class com.github.ambry.account.AccountServiceMetrics
 
accountUpdateConsumerTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
AccountUpdateInfo(Account, boolean, boolean, List<Container>, List<Container>) - Constructor for class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 
accountUpdatesCapturedByScheduledUpdaterCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountUpdatesToAmbryServerErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountUpdatesToStoreErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
accountUpdateToAmbryTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
AccountUtils - Class in com.github.ambry.account
Utils for Account-related operations.
AccountUtils() - Constructor for class com.github.ambry.account.AccountUtils
 
AccountUtils.AccountUpdateInfo - Class in com.github.ambry.account
Holds information updated for an Account
addAccountUpdateConsumer(Consumer<Collection<Account>>) - Method in class com.github.ambry.account.CompositeAccountService
 

B

BACKUP_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
BACKUP_READ_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
BACKUP_WRITE_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
backupErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
backupReadTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
backupWriteTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 

C

checkOpen() - Method in class com.github.ambry.account.HelixAccountService
Ensures the account service is ready to process requests.
checkOpen() - Method in class com.github.ambry.account.MySqlAccountService
 
close() - Method in class com.github.ambry.account.CompositeAccountService
 
close() - Method in class com.github.ambry.account.HelixAccountService
 
close() - Method in class com.github.ambry.account.MySqlAccountService
 
closeConnection() - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Helper method to close the active connection, if there is one.
com.github.ambry.account - package com.github.ambry.account
 
com.github.ambry.account.mysql - package com.github.ambry.account.mysql
 
compareAccounts(Collection<Account>, Collection<Account>) - Static method in class com.github.ambry.account.AccountUtils
Compares and logs differences (if any) in Accounts.
CompositeAccountService - Class in com.github.ambry.account
An implementation of AccountService that combines two sources.
CompositeAccountService(AccountService, AccountService, AccountServiceMetrics, CompositeAccountServiceConfig) - Constructor for class com.github.ambry.account.CompositeAccountService
 
compositeAccountServiceConfig - Variable in class com.github.ambry.account.CompositeAccountServiceFactory
 
CompositeAccountServiceFactory - Class in com.github.ambry.account
Composite account service based implementation of AccountServiceFactory.
CompositeAccountServiceFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.CompositeAccountServiceFactory
Constructor.
config - Variable in class com.github.ambry.account.mysql.MySqlAccountStoreFactory
 
CONFLICT_RETRY_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
conflictRetryCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
CONTAINER_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
CONTAINER_ID - Static variable in class com.github.ambry.account.mysql.AccountDao
 
CONTAINER_INFO - Static variable in class com.github.ambry.account.mysql.AccountDao
 
CONTAINER_NAME - Static variable in class com.github.ambry.account.mysql.AccountDao
 
CONTAINER_TABLE - Static variable in class com.github.ambry.account.mysql.AccountDao
 
CREATION_TIME - Static variable in class com.github.ambry.account.mysql.AccountDao
 

D

Delete - com.github.ambry.account.mysql.AccountDao.StatementType
 

F

FETCH_REMOTE_ACCOUNT_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
FETCH_REMOTE_ACCOUNT_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
fetchRemoteAccountErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
fetchRemoteAccountTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 

G

GET_ACCOUNT_INCONSISTENCY_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
getAccount() - Method in class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 
getAccountById(short) - Method in class com.github.ambry.account.CompositeAccountService
 
getAccountById(short) - Method in class com.github.ambry.account.MySqlAccountService
 
getAccountByName(String) - Method in class com.github.ambry.account.CompositeAccountService
 
getAccountByName(String) - Method in class com.github.ambry.account.MySqlAccountService
 
getAccountInconsistencyCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
getAccountService() - Method in class com.github.ambry.account.CompositeAccountServiceFactory
 
getAccountService() - Method in class com.github.ambry.account.HelixAccountServiceFactory
 
getAccountService() - Method in class com.github.ambry.account.InMemoryUnknownAccountServiceFactory
 
getAccountService() - Method in class com.github.ambry.account.JsonAccountServiceFactory
 
getAccountService() - Method in class com.github.ambry.account.MySqlAccountServiceFactory
 
getAccountsMismatchCount() - Method in class com.github.ambry.account.CompositeAccountService
 
getAddedContainers() - Method in class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 
getAllAccounts() - Method in class com.github.ambry.account.CompositeAccountService
 
getAllAccounts() - Method in class com.github.ambry.account.MySqlAccountService
 
getContainerById(int, int) - Method in class com.github.ambry.account.mysql.AccountDao
Gets container by its Id and parent account Id.
getContainerById(int, int) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Gets container by its Id and parent account Id.
getContainerById(short, Short) - Method in class com.github.ambry.account.MySqlAccountService
Gets the Container by its Id and parent Account Id by looking up in in-memory cache.
getContainerByName(int, String) - Method in class com.github.ambry.account.mysql.AccountDao
Gets container by its name and parent account Id.
getContainerByName(int, String) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Gets container by its name and parent account Id.
getContainerByName(String, String) - Method in class com.github.ambry.account.CompositeAccountService
 
getContainerByName(String, String) - Method in class com.github.ambry.account.MySqlAccountService
Gets the Container by its name and parent Account name by looking up in in-memory cache.
getContainerCount() - Method in class com.github.ambry.account.MySqlAccountService
 
getContainers(int) - Method in class com.github.ambry.account.mysql.AccountDao
Gets the containers in a specified account.
getContainersByAccount(short) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Gets all Containers of a given account
getContainersByStatus(Container.ContainerStatus) - Method in class com.github.ambry.account.CompositeAccountService
 
getDeprecatedContainers(AccountService, long) - Static method in class com.github.ambry.account.AccountUtils
Returns Set of deprecated Containers ready for deletion from AccountService.
getMySqlAccountStore() - Method in class com.github.ambry.account.mysql.MySqlAccountStoreFactory
Returns an instance of the MySqlAccountStore that the factory generates.
getMySqlDataAccessor() - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Used for tests.
getNewAccounts(long) - Method in class com.github.ambry.account.mysql.AccountDao
Gets all accounts that have been created or modified since the specified time.
getNewAccounts(long) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Gets all Accounts that have been created or modified since the specified time.
getNewContainers(long) - Method in class com.github.ambry.account.mysql.AccountDao
Gets all containers that have been created or modified since the specified time.
getNewContainers(long) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Gets all Containers that have been created or modified since the specified time.
getTimeInSecondsSinceLastSync() - Method in class com.github.ambry.account.MySqlAccountService
 
getUpdatedContainers() - Method in class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 

H

HelixAccountService - Class in com.github.ambry.account
An implementation of AccountService that employs a HelixPropertyStore as its underlying storage.
HelixAccountServiceFactory - Class in com.github.ambry.account
Helix-based implementation of HelixAccountServiceFactory.
HelixAccountServiceFactory(HelixPropertyStoreConfig, HelixAccountServiceConfig, AccountServiceMetrics, Notifier<String>) - Constructor for class com.github.ambry.account.HelixAccountServiceFactory
Constructor.
HelixAccountServiceFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.HelixAccountServiceFactory
Constructor.

I

InMemoryUnknownAccountServiceFactory - Class in com.github.ambry.account
An AccountServiceFactory that returns an InMemoryUnknownAccountService.
InMemoryUnknownAccountServiceFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.InMemoryUnknownAccountServiceFactory
Constructor.
Insert - com.github.ambry.account.mysql.AccountDao.StatementType
 
isAdded() - Method in class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 
isUpdated() - Method in class com.github.ambry.account.AccountUtils.AccountUpdateInfo
 

J

JsonAccountServiceFactory - Class in com.github.ambry.account
 
JsonAccountServiceFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.JsonAccountServiceFactory
Constructor

L

LAST_MODIFIED_TIME - Static variable in class com.github.ambry.account.mysql.AccountDao
 
localDatacenter - Variable in class com.github.ambry.account.mysql.MySqlAccountStoreFactory
 

M

metrics - Variable in class com.github.ambry.account.mysql.MySqlAccountStoreFactory
 
MySqlAccountService - Class in com.github.ambry.account
An implementation of AccountService that employs MySql database as its underlying storage.
MySqlAccountService(AccountServiceMetrics, MySqlAccountServiceConfig, MySqlAccountStoreFactory) - Constructor for class com.github.ambry.account.MySqlAccountService
 
MySqlAccountServiceFactory - Class in com.github.ambry.account
MySql based implementation of AccountServiceFactory.
MySqlAccountServiceFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.MySqlAccountServiceFactory
Constructor.
MySqlAccountStore - Class in com.github.ambry.account.mysql
Wrapper class to handle MySql store operations on Account and Container tables
MySqlAccountStore(List<MySqlUtils.DbEndpoint>, String, MySqlMetrics, MySqlAccountServiceConfig) - Constructor for class com.github.ambry.account.mysql.MySqlAccountStore
Constructor.
mySqlAccountStoreFactory - Variable in class com.github.ambry.account.MySqlAccountServiceFactory
 
MySqlAccountStoreFactory - Class in com.github.ambry.account.mysql
Factory class to return an instance of MySqlAccountStore on getMySqlAccountStore() call
MySqlAccountStoreFactory(VerifiableProperties, MetricRegistry) - Constructor for class com.github.ambry.account.mysql.MySqlAccountStoreFactory
Constructor.

N

notifier - Variable in class com.github.ambry.account.HelixAccountServiceFactory
 
NOTIFY_ACCOUNT_DATA_CHANGE_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
notifyAccountDataChangeErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
NULL_NOTIFIER_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
nullNotifierCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 

O

ON_DEMAND_CONTAINER_FETCH_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
onDemandContainerFetchCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 

P

primaryAccountServiceFactory - Variable in class com.github.ambry.account.CompositeAccountServiceFactory
 

R

REMOTE_DATA_CORRUPTION_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
remoteDataCorruptionErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
removeAccountUpdateConsumer(Consumer<Collection<Account>>) - Method in class com.github.ambry.account.CompositeAccountService
 

S

searchNonEmptyContainers(Map<String, Set<String>>, StatsSnapshot, String) - Static method in class com.github.ambry.account.AccountUtils
Gets valid data size Containers.
secondaryAccountServiceFactory - Variable in class com.github.ambry.account.CompositeAccountServiceFactory
 
Select - com.github.ambry.account.mysql.AccountDao.StatementType
 
selectInactiveContainerCandidates(StatsSnapshot, Set<Container>) - Static method in class com.github.ambry.account.AccountUtils
Selects Containers to be marked as INACTIVE.
selectInactiveContainersAndMarkInStore(StatsSnapshot) - Method in class com.github.ambry.account.CompositeAccountService
 
SEPARATOR - Static variable in class com.github.ambry.account.MySqlAccountService
 
setupRouter(Router) - Method in class com.github.ambry.account.HelixAccountService
set the router to the given one.
STARTUP_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
startupTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
storeConfig - Variable in class com.github.ambry.account.HelixAccountServiceFactory
 

T

TIME_IN_SECONDS_SINCE_LAST_SYNC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
translateSQLException(SQLException) - Static method in class com.github.ambry.account.MySqlAccountService
Translate a SQLException to a AccountServiceException.

U

UNRECOGNIZED_MESSAGE_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
unrecognizedMessageErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
Update - com.github.ambry.account.mysql.AccountDao.StatementType
 
UPDATE_ACCOUNT_ERROR_COUNT - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
UPDATE_ACCOUNT_TIME_MSEC - Static variable in class com.github.ambry.account.AccountServiceMetrics
 
updateAccountErrorCount - Variable in class com.github.ambry.account.AccountServiceMetrics
 
updateAccounts(Collection<Account>) - Method in class com.github.ambry.account.CompositeAccountService
 
updateAccounts(Collection<Account>) - Method in class com.github.ambry.account.HelixAccountService
updateAccounts(Collection<Account>) - Method in class com.github.ambry.account.MySqlAccountService
 
updateAccounts(List<AccountUtils.AccountUpdateInfo>) - Method in class com.github.ambry.account.mysql.MySqlAccountStore
Adds/Updates accounts and their containers to the database in batches atomically using transaction.
updateAccounts(List<AccountUtils.AccountUpdateInfo>, int) - Method in class com.github.ambry.account.mysql.AccountDao
Adds/Updates accounts and their containers to the database in batches atomically using transaction.
updateAccountTimeInMs - Variable in class com.github.ambry.account.AccountServiceMetrics
 
updateContainers(String, Collection<Container>) - Method in class com.github.ambry.account.CompositeAccountService
 
updateContainers(String, Collection<Container>) - Method in class com.github.ambry.account.MySqlAccountService
 
updateResolvedContainers(Account, Collection<Container>) - Method in class com.github.ambry.account.MySqlAccountService
 

V

valueOf(String) - Static method in enum com.github.ambry.account.mysql.AccountDao.StatementType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.ambry.account.mysql.AccountDao.StatementType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.github.ambry.account.mysql.AccountDao
 
A B C D F G H I J L M N O P R S T U V 
All Classes All Packages