Package de.caluga.morphium.driver.wire
Class HelloResult
- java.lang.Object
-
- de.caluga.morphium.driver.wire.HelloResult
-
public class HelloResult extends Object
-
-
Constructor Summary
Constructors Constructor Description HelloResult()
-
Method Summary
-
-
-
Method Detail
-
fromMsg
public static HelloResult fromMsg(Map<String,Object> msg)
-
getSecondary
public Boolean getSecondary()
-
setSecondary
public HelloResult setSecondary(Boolean secondary)
-
getWritablePrimary
public Boolean getWritablePrimary()
-
setWritablePrimary
public HelloResult setWritablePrimary(Boolean writablePrimary)
-
getMaxBsonObjectSize
public Integer getMaxBsonObjectSize()
-
setMaxBsonObjectSize
public HelloResult setMaxBsonObjectSize(Integer maxBsonObjectSize)
-
getMaxMessageSizeBytes
public Integer getMaxMessageSizeBytes()
-
setMaxMessageSizeBytes
public HelloResult setMaxMessageSizeBytes(Integer maxMessageSizeBytes)
-
getMaxWriteBatchSize
public Integer getMaxWriteBatchSize()
-
setMaxWriteBatchSize
public HelloResult setMaxWriteBatchSize(Integer maxWriteBatchSize)
-
setTopologyVersion
public HelloResult setTopologyVersion(Map<String,Object> topologyVersion)
-
getOperationTime
public Long getOperationTime()
-
setOperationTime
public HelloResult setOperationTime(Long operationTime)
-
getLocalTime
public Date getLocalTime()
-
setLocalTime
public HelloResult setLocalTime(Date localTime)
-
getLogicalSessionTimeoutMinutes
public Integer getLogicalSessionTimeoutMinutes()
-
setLogicalSessionTimeoutMinutes
public HelloResult setLogicalSessionTimeoutMinutes(Integer logicalSessionTimeoutMinutes)
-
getConnectionId
public Integer getConnectionId()
-
setConnectionId
public HelloResult setConnectionId(Integer connectionId)
-
getMinWireVersion
public Integer getMinWireVersion()
-
setMinWireVersion
public HelloResult setMinWireVersion(Integer minWireVersion)
-
getMaxWireVersion
public Integer getMaxWireVersion()
-
setMaxWireVersion
public HelloResult setMaxWireVersion(Integer maxWireVersion)
-
getReadOnly
public Boolean getReadOnly()
-
setReadOnly
public HelloResult setReadOnly(Boolean readOnly)
-
getCompression
public String getCompression()
-
setCompression
public HelloResult setCompression(String compression)
-
setSaslSupportedMechs
public HelloResult setSaslSupportedMechs(List<String> saslSupportedMechs)
-
getMsg
public String getMsg()
-
setMsg
public HelloResult setMsg(String msg)
-
setHosts
public HelloResult setHosts(List<String> hosts)
-
getMe
public String getMe()
-
setMe
public HelloResult setMe(String me)
-
getPrimary
public String getPrimary()
-
setPrimary
public HelloResult setPrimary(String primary)
-
getSetName
public String getSetName()
-
setSetName
public HelloResult setSetName(String setName)
-
getSetVersion
public Integer getSetVersion()
-
setSetVersion
public HelloResult setSetVersion(Integer setVersion)
-
getArbiterOnly
public Boolean getArbiterOnly()
-
setArbiterOnly
public HelloResult setArbiterOnly(Boolean arbiterOnly)
-
getPassive
public Boolean getPassive()
-
setPassive
public HelloResult setPassive(Boolean passive)
-
getHidden
public Boolean getHidden()
-
setHidden
public HelloResult setHidden(Boolean hidden)
-
setTags
public HelloResult setTags(Map<String,String> tags)
-
getElectionId
public MorphiumId getElectionId()
-
setElectionId
public HelloResult setElectionId(MorphiumId electionId)
-
setLastWrite
public HelloResult setLastWrite(Map<String,Object> lastWrite)
-
isOk
public boolean isOk()
-
getOk
public Double getOk()
-
setOk
public HelloResult setOk(Double ok)
-
getHelloOk
public Boolean getHelloOk()
-
setHelloOk
public HelloResult setHelloOk(Boolean helloOk)
-
-