Package com.mongodb
Class UnixServerAddress
java.lang.Object
com.mongodb.ServerAddress
com.mongodb.UnixServerAddress
- All Implemented Interfaces:
Serializable
Represents the location of a MongoD unix domain socket.
Requires the 'jnr.unixsocket' library.
- Since:
- 3.7
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.mongodb.ServerAddress
defaultHost, defaultPort, equals, getHost, getPort, hashCode
-
Constructor Details
-
UnixServerAddress
Creates a new instance- Parameters:
path
- the path of the MongoD unix domain socket.
-
-
Method Details
-
toString
- Overrides:
toString
in classServerAddress
-