Package com.majorana.maj_orm.DBs
Class DBCreds
java.lang.Object
com.majorana.maj_orm.DBs.DBCreds
-
Constructor Summary
ConstructorsConstructorDescriptionDBCreds()DBCreds(MajDataSourceName name, String group, int priorty, DatabaseVariant variant, String remoteDatabaseNameAtService, String hostAddress, int port, String username, String passwd, boolean useSSL, boolean verifySSLCert, String isolationLevel, boolean allowPublicKeyRetrieval) -
Method Summary
Modifier and TypeMethodDescriptionlongstatic String[]intintintlonggetGroup()intintintgetName()intgetPort()intbooleanbooleanisUseSSL()booleanvoidsetConnectionTimeout(long connectionTimeout) voidsetMaxPoolSize(int maxPoolSize) voidsetMinimumIdleCon(int minimumIdleCon) voidsetMinimumIdleTimeout(int minimumIdleTimeout) voidsetPoolName(String poolName) toString()
-
Constructor Details
-
DBCreds
public DBCreds() -
DBCreds
public DBCreds(MajDataSourceName name, String group, int priorty, DatabaseVariant variant, String remoteDatabaseNameAtService, String hostAddress, int port, String username, String passwd, boolean useSSL, boolean verifySSLCert, String isolationLevel, boolean allowPublicKeyRetrieval)
-
-
Method Details
-
getDefPoolName
-
getDefMinimumIdleTimeout
public long getDefMinimumIdleTimeout() -
getDefMaxPoolSize
public int getDefMaxPoolSize() -
getDefMinimumIdleCon
public int getDefMinimumIdleCon() -
getDefConnectionTimeout
public int getDefConnectionTimeout() -
getCredFields
-
isAllowPublicKeyRetrieval
public boolean isAllowPublicKeyRetrieval() -
getVariant
-
getIsolationLevel
-
getHostAddress
-
getPort
public int getPort() -
getUsername
-
getPasswd
-
isVerifySSLCert
public boolean isVerifySSLCert() -
getGroup
-
getName
-
getRemoteDatabaseNameAtService
-
getPriority
public int getPriority() -
isUseSSL
public boolean isUseSSL() -
getPoolName
-
getMinimumIdleTimeout
public int getMinimumIdleTimeout() -
setMinimumIdleTimeout
public void setMinimumIdleTimeout(int minimumIdleTimeout) -
getMaxPoolSize
public int getMaxPoolSize() -
toString
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize) -
getMinimumIdleCon
public int getMinimumIdleCon() -
setMinimumIdleCon
public void setMinimumIdleCon(int minimumIdleCon) -
getConnectionTimeout
public long getConnectionTimeout() -
setConnectionTimeout
public void setConnectionTimeout(long connectionTimeout) -
setPoolName
-