Package com.atlassian.bamboo.health
Interface MySQLChecks
- All Known Implementing Classes:
 MySQLChecksImpl
@Internal
public interface MySQLChecks
MySQL-specific validations
- 
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongbooleanbooleanbooleanboolean 
- 
Method Details
- 
isMaxAllowedPacketSizeCheckPass
- Returns:
 - true if DB "max_allowed_packet" size is greater or equals 
getRecommendedMaxPacketsSize() - Throws:
 IllegalStateException- if can't connect to DB
 - 
getMaxAllowedPacketSize
- Returns:
 - max allowed packet size from DB settings
 - Throws:
 IllegalStateException- if can't connect to DB
 - 
getRecommendedMaxPacketsSize
long getRecommendedMaxPacketsSize() - 
isCharacterSetCheckPass
- Returns:
 - true if DB's character set is recommended "utf8mb4" or "utf8"
 - Throws:
 IllegalStateException- if can't connect to DB
 - 
isCollationCheckPass
- Returns:
 - true if DB's collation is recommented "utf8mb4_bin" or "utf8_bin"
 - Throws:
 IllegalStateException- if can't connect to DB
 - 
isInnoDBLogFileSizeCheckPass
- Returns:
 - true if log file size is greater or equals 
getRecommendedInnoDBLogFileSize() - Throws:
 IllegalStateException- if can't connect to DB
 - 
getInnoDBLogFileSize
- Returns:
 - actual DB log file size
 - Throws:
 IllegalStateException- if can't connect to DB
 - 
getRecommendedInnoDBLogFileSize
long getRecommendedInnoDBLogFileSize() 
 -