public class MySQLChecksImpl extends Object implements MySQLChecks
Modifier and Type | Field and Description |
---|---|
protected static String |
TEST_TABLE_NAME |
Constructor and Description |
---|
MySQLChecksImpl(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
long |
getInnoDBLogFileSize() |
long |
getMaxAllowedPacketSize() |
long |
getRecommendedInnoDBLogFileSize() |
long |
getRecommendedMaxPacketsSize() |
boolean |
isCharacterSetCheckPass() |
boolean |
isCollationCheckPass() |
boolean |
isInnoDBLogFileSizeCheckPass() |
boolean |
isMaxAllowedPacketSizeCheckPass() |
protected static final String TEST_TABLE_NAME
public MySQLChecksImpl(org.hibernate.SessionFactory sessionFactory)
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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.