Class BackendKeyData
java.lang.Object
io.r2dbc.postgresql.message.backend.BackendKeyData
- All Implemented Interfaces:
BackendMessage
The BackendKeyData message.
-
Constructor Details
-
BackendKeyData
public BackendKeyData(int processId, int secretKey) Create a new message.- Parameters:
processId- the process ID of this backendsecretKey- the secret key of this backend
-
-
Method Details
-
equals
-
getProcessId
public int getProcessId()Returns the process ID of this backend.- Returns:
- the process ID of this backend
-
getSecretKey
public int getSecretKey()Returns the secret key of this backend.- Returns:
- the secret key of this backend
-
hashCode
-
toString
-