public class MySQLChecksImpl extends Object implements MySQLChecks
Constructor and Description |
---|
MySQLChecksImpl(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate) |
Modifier and Type | Method and Description |
---|---|
long |
getInnoDBLogFileSize() |
long |
getMaxAllowedPacketSize() |
long |
getRecommendedInnoDBLogFileSize() |
long |
getRecommendedMaxPacketsSize() |
boolean |
isCharacterSetCheckPass() |
boolean |
isCollationCheckPass() |
boolean |
isInnoDBLogFileSizeCheckPass() |
boolean |
isMaxAllowedPacketSizeCheckPass() |
public MySQLChecksImpl(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate)
public boolean isMaxAllowedPacketSizeCheckPass() throws IllegalStateException
isMaxAllowedPacketSizeCheckPass
in interface MySQLChecks
MySQLChecks.getRecommendedMaxPacketsSize()
IllegalStateException
- if can't connect to DBpublic long getMaxAllowedPacketSize()
getMaxAllowedPacketSize
in interface MySQLChecks
public long getRecommendedMaxPacketsSize()
getRecommendedMaxPacketsSize
in interface MySQLChecks
public boolean isCharacterSetCheckPass()
isCharacterSetCheckPass
in interface MySQLChecks
public boolean isCollationCheckPass()
isCollationCheckPass
in interface MySQLChecks
public boolean isInnoDBLogFileSizeCheckPass()
isInnoDBLogFileSizeCheckPass
in interface MySQLChecks
MySQLChecks.getRecommendedInnoDBLogFileSize()
public long getInnoDBLogFileSize()
getInnoDBLogFileSize
in interface MySQLChecks
public long getRecommendedInnoDBLogFileSize()
getRecommendedInnoDBLogFileSize
in interface MySQLChecks
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.