Package com.github.ambry.config
Class MySqlNamedBlobDbConfig
- java.lang.Object
-
- com.github.ambry.config.MySqlNamedBlobDbConfig
-
public class MySqlNamedBlobDbConfig extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DB_INFO
java.lang.String
dbInfo
Serialized json array containing the information about all mysql end points.static java.lang.String
LIST_MAX_RESULTS
int
listMaxResults
The maximum number of entries to return per response page when listing blobs.static java.lang.String
POOL_SIZE
int
poolSize
Number of connections and threads to use for executing transactions.
-
Constructor Summary
Constructors Constructor Description MySqlNamedBlobDbConfig(VerifiableProperties verifiableProperties)
-
-
-
Field Detail
-
DB_INFO
public static final java.lang.String DB_INFO
- See Also:
- Constant Field Values
-
POOL_SIZE
public static final java.lang.String POOL_SIZE
- See Also:
- Constant Field Values
-
LIST_MAX_RESULTS
public static final java.lang.String LIST_MAX_RESULTS
- See Also:
- Constant Field Values
-
dbInfo
@Config("mysql.named.blob.db.info") public final java.lang.String dbInfo
Serialized json array containing the information about all mysql end points. SeeMySqlAccountServiceConfig.dbInfo
for information about the format of the json array.
-
poolSize
@Config("mysql.named.blob.pool.size") @Default("10") public final int poolSize
Number of connections and threads to use for executing transactions.
-
-
Constructor Detail
-
MySqlNamedBlobDbConfig
public MySqlNamedBlobDbConfig(VerifiableProperties verifiableProperties)
-
-