📄 connectionproperties.java
字号:
* * @return */ public boolean getParanoid() { return this.paranoid.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param property */ public void setPedantic(boolean property) { this.pedantic.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getPedantic() { return this.pedantic.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param cacheSize The preparedStatementCacheSize to set. */ public void setPreparedStatementCacheSize(int cacheSize) { this.preparedStatementCacheSize.setValue(cacheSize); } /** * DOCUMENT ME! * * @return Returns the preparedStatementCacheSize. */ public int getPreparedStatementCacheSize() { return ((Integer) this.preparedStatementCacheSize.getValueAsObject()).intValue(); } /** * DOCUMENT ME! * * @param cacheSqlLimit The preparedStatementCacheSqlLimit to set. */ public void setPreparedStatementCacheSqlLimit(int cacheSqlLimit) { this.preparedStatementCacheSqlLimit.setValue(cacheSqlLimit); } /** * DOCUMENT ME! * * @return Returns the preparedStatementCacheSqlLimit. */ public int getPreparedStatementCacheSqlLimit() { return ((Integer) this.preparedStatementCacheSqlLimit.getValueAsObject()).intValue(); } /** * DOCUMENT ME! * * @param flag The profileSQL to set. */ public void setProfileSQL(boolean flag) { this.profileSQL.setValue(flag); } /** * DOCUMENT ME! * * @return Returns the profileSQL flag */ public boolean getProfileSQL() { return this.profileSQL.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param property */ public void setProfileSql(boolean property) { this.profileSQL.setValue(property); this.profileSQLAsBoolean = this.profileSQL.getValueAsBoolean(); } /** * DOCUMENT ME! * * @return */ public boolean getProfileSql() { return this.profileSQLAsBoolean; } /** * DOCUMENT ME! * * @param property */ public void setQueriesBeforeRetryMaster(int property) { this.queriesBeforeRetryMaster.setValue(property); } /** * DOCUMENT ME! * * @return */ public int getQueriesBeforeRetryMaster() { return this.queriesBeforeRetryMaster.getValueAsInt(); } /** * DOCUMENT ME! * * @param property */ public void setReconnectAtTxEnd(boolean property) { this.reconnectAtTxEnd.setValue(property); this.reconnectTxAtEndAsBoolean = this.reconnectAtTxEnd.getValueAsBoolean(); } /** * DOCUMENT ME! * * @return */ public boolean getReconnectAtTxEnd() { return this.reconnectTxAtEndAsBoolean; } /** * DOCUMENT ME! * * @param property */ public void setRelaxAutoCommit(boolean property) { this.relaxAutoCommit.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getRelaxAutoCommit() { return this.relaxAutoCommit.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param millis The reportMetricsIntervalMillis to set. */ public void setReportMetricsIntervalMillis(int millis) { this.reportMetricsIntervalMillis.setValue(millis); } /** * DOCUMENT ME! * * @return Returns the reportMetricsIntervalMillis. */ public int getReportMetricsIntervalMillis() { return this.reportMetricsIntervalMillis.getValueAsInt(); } /** * DOCUMENT ME! * * @param property */ public void setRequireSSL(boolean property) { this.requireSSL.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getRequireSSL() { return this.requireSSL.getValueAsBoolean(); } /** * Sets whether or not hosts will be picked in a round-robin fashion. * * @param flag The roundRobinLoadBalance property to set. */ public void setRoundRobinLoadBalance(boolean flag) { this.roundRobinLoadBalance.setValue(flag); } /** * Returns whether or not hosts will be picked in a round-robin fashion. * * @return Returns the roundRobinLoadBalance property. */ public boolean getRoundRobinLoadBalance() { return this.roundRobinLoadBalance.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param property */ public void setSecondsBeforeRetryMaster(int property) { this.secondsBeforeRetryMaster.setValue(property); } /** * DOCUMENT ME! * * @return */ public int getSecondsBeforeRetryMaster() { return this.secondsBeforeRetryMaster.getValueAsInt(); } /** * DOCUMENT ME! * * @param property DOCUMENT ME! */ public void setServerTimezone(String property) { this.serverTimezone.setValue(property); } /** * Returns the 'serverTimezone' property. * * @return the configured server timezone property. */ public String getServerTimezone() { return this.serverTimezone.getValueAsString(); } /** * DOCUMENT ME! * * @param millis The slowQueryThresholdMillis to set. */ public void setSlowQueryThresholdMillis(int millis) { this.slowQueryThresholdMillis.setValue(millis); } /** * DOCUMENT ME! * * @return Returns the slowQueryThresholdMillis. */ public int getSlowQueryThresholdMillis() { return this.slowQueryThresholdMillis.getValueAsInt(); } /** * DOCUMENT ME! * * @param property */ public void setSocketFactoryClassName(String property) { this.socketFactoryClassName.setValue(property); } /** * DOCUMENT ME! * * @return */ public String getSocketFactoryClassName() { return this.socketFactoryClassName.getValueAsString(); } /** * DOCUMENT ME! * * @param property */ public void setSocketTimeout(int property) { this.socketTimeout.setValue(property); } /** * DOCUMENT ME! * * @return */ public int getSocketTimeout() { return this.socketTimeout.getValueAsInt(); } /** * DOCUMENT ME! * * @param property */ public void setStrictFloatingPoint(boolean property) { this.strictFloatingPoint.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getStrictFloatingPoint() { return this.strictFloatingPoint.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param property */ public void setStrictUpdates(boolean property) { this.strictUpdates.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getStrictUpdates() { return this.strictUpdates.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param flag The logProtocol to set. */ public void setTraceProtocol(boolean flag) { this.traceProtocol.setValue(flag); } /** * DOCUMENT ME! * * @return Returns the logProtocol. */ public boolean getTraceProtocol() { return this.traceProtocol.getValueAsBoolean(); } /** * DOCUMENT ME! * * @param property */ public void setUseCompression(boolean property) { this.useCompression.setValue(property); } /** * DOCUMENT ME! * * @return */ public boolean getUseCompression() { return this.useCompression.getValueAsBoolean(); } /**
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -