Interface ValkeyConnectionDetails.Standalone
- Enclosing interface:
- ValkeyConnectionDetails
public static interface ValkeyConnectionDetails.Standalone
Valkey standalone configuration.
-
Method Details
-
getHost
String getHost()Valkey server host.- Returns:
- the Valkey server host
-
getPort
int getPort()Valkey server port.- Returns:
- the Valkey server port
-
getDatabase
default int getDatabase()Database index used by the connection factory.- Returns:
- the database index used by the connection factory
-
of
Creates a new instance with the given host and port.- Parameters:
host- the hostport- the port- Returns:
- the new instance
-
of
Creates a new instance with the given host, port and database.- Parameters:
host- the hostport- the portdatabase- the database- Returns:
- the new instance
-