Package com.majorana.maj_orm.DBs
Class DBCreds
java.lang.Object
com.majorana.maj_orm.DBs.DBCreds
-
Constructor Summary
ConstructorDescriptionDBCreds()
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 TypeMethodDescriptionlong
static String[]
int
int
int
long
getGroup()
int
int
int
getName()
int
getPort()
int
boolean
boolean
isUseSSL()
boolean
void
setConnectionTimeout
(long connectionTimeout) void
setMaxPoolSize
(int maxPoolSize) void
setMinimumIdleCon
(int minimumIdleCon) void
setMinimumIdleTimeout
(int minimumIdleTimeout) void
setPoolName
(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
-