public class BaseProperty extends Object
| 构造器和说明 |
|---|
BaseProperty() |
BaseProperty(String host,
String port,
String database,
String username,
String password,
String authenticationDatabase,
Integer minPoolSize,
Integer maxPoolSize,
Integer waitQueueTimeoutMS,
Integer serverSelectionTimeoutMS,
Integer localThresholdMS,
Integer heartbeatFrequencyMS,
String replicaSet,
Boolean ssl,
Boolean tls,
Boolean tlsInsecure,
Boolean tlsAllowInvalidHostnames,
Integer connectTimeoutMS,
Integer socketTimeoutMS,
Integer maxIdleTimeMS,
Integer maxLifeTimeMS,
Boolean journal,
String w,
Integer wtimeoutMS,
String readPreference,
String readPreferenceTags,
Integer maxStalenessSeconds,
String authMechanism,
String authSource,
String authMechanismProperties,
String appName,
String compressors,
Integer zlibCompressionLevel,
Boolean retryWrites,
Boolean retryReads,
String uuidRepresentation,
Boolean directConnection,
Integer maxConnecting,
String srvServiceName) |
public BaseProperty(String host, String port, String database, String username, String password, String authenticationDatabase, Integer minPoolSize, Integer maxPoolSize, Integer waitQueueTimeoutMS, Integer serverSelectionTimeoutMS, Integer localThresholdMS, Integer heartbeatFrequencyMS, String replicaSet, Boolean ssl, Boolean tls, Boolean tlsInsecure, Boolean tlsAllowInvalidHostnames, Integer connectTimeoutMS, Integer socketTimeoutMS, Integer maxIdleTimeMS, Integer maxLifeTimeMS, Boolean journal, String w, Integer wtimeoutMS, String readPreference, String readPreferenceTags, Integer maxStalenessSeconds, String authMechanism, String authSource, String authMechanismProperties, String appName, String compressors, Integer zlibCompressionLevel, Boolean retryWrites, Boolean retryReads, String uuidRepresentation, Boolean directConnection, Integer maxConnecting, String srvServiceName)
public BaseProperty()
public String getHost()
public String getPort()
public String getDatabase()
public String getUsername()
public String getPassword()
public String getAuthenticationDatabase()
public Integer getMinPoolSize()
public Integer getMaxPoolSize()
public Integer getWaitQueueTimeoutMS()
public Integer getServerSelectionTimeoutMS()
public Integer getLocalThresholdMS()
public Integer getHeartbeatFrequencyMS()
public String getReplicaSet()
public Boolean getSsl()
public Boolean getTls()
public Boolean getTlsInsecure()
public Boolean getTlsAllowInvalidHostnames()
public Integer getConnectTimeoutMS()
public Integer getSocketTimeoutMS()
public Integer getMaxIdleTimeMS()
public Integer getMaxLifeTimeMS()
public Boolean getJournal()
public String getW()
public Integer getWtimeoutMS()
public String getReadPreference()
public String getReadPreferenceTags()
public Integer getMaxStalenessSeconds()
public String getAuthMechanism()
public String getAuthSource()
public String getAuthMechanismProperties()
public String getAppName()
public String getCompressors()
public Integer getZlibCompressionLevel()
public Boolean getRetryWrites()
public Boolean getRetryReads()
public String getUuidRepresentation()
public Boolean getDirectConnection()
public Integer getMaxConnecting()
public String getSrvServiceName()
public void setHost(String host)
public void setPort(String port)
public void setDatabase(String database)
public void setUsername(String username)
public void setPassword(String password)
public void setAuthenticationDatabase(String authenticationDatabase)
public void setMinPoolSize(Integer minPoolSize)
public void setMaxPoolSize(Integer maxPoolSize)
public void setWaitQueueTimeoutMS(Integer waitQueueTimeoutMS)
public void setServerSelectionTimeoutMS(Integer serverSelectionTimeoutMS)
public void setLocalThresholdMS(Integer localThresholdMS)
public void setHeartbeatFrequencyMS(Integer heartbeatFrequencyMS)
public void setReplicaSet(String replicaSet)
public void setSsl(Boolean ssl)
public void setTls(Boolean tls)
public void setTlsInsecure(Boolean tlsInsecure)
public void setTlsAllowInvalidHostnames(Boolean tlsAllowInvalidHostnames)
public void setConnectTimeoutMS(Integer connectTimeoutMS)
public void setSocketTimeoutMS(Integer socketTimeoutMS)
public void setMaxIdleTimeMS(Integer maxIdleTimeMS)
public void setMaxLifeTimeMS(Integer maxLifeTimeMS)
public void setJournal(Boolean journal)
public void setW(String w)
public void setWtimeoutMS(Integer wtimeoutMS)
public void setReadPreference(String readPreference)
public void setReadPreferenceTags(String readPreferenceTags)
public void setMaxStalenessSeconds(Integer maxStalenessSeconds)
public void setAuthMechanism(String authMechanism)
public void setAuthSource(String authSource)
public void setAuthMechanismProperties(String authMechanismProperties)
public void setAppName(String appName)
public void setCompressors(String compressors)
public void setZlibCompressionLevel(Integer zlibCompressionLevel)
public void setRetryWrites(Boolean retryWrites)
public void setRetryReads(Boolean retryReads)
public void setUuidRepresentation(String uuidRepresentation)
public void setDirectConnection(Boolean directConnection)
public void setMaxConnecting(Integer maxConnecting)
public void setSrvServiceName(String srvServiceName)
public String getUrl()
public void setUrl(String url)
protected boolean canEqual(Object other)
Copyright © 2023. All rights reserved.