Class PgNotification
java.lang.Object
io.vertx.pgclient.PgNotification
A notification emited by Postgres.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintsetChannel(String channel) Set the channel value.setPayload(String payload) Set the payload value.setProcessId(int processId) Set the process id.toJson()
-
Constructor Details
-
PgNotification
public PgNotification() -
PgNotification
-
-
Method Details
-
getProcessId
public int getProcessId()- Returns:
- the notification process id
-
setProcessId
Set the process id.- Returns:
- a reference to this, so the API can be used fluently
-
getChannel
- Returns:
- the notification channel value
-
setChannel
Set the channel value.- Returns:
- a reference to this, so the API can be used fluently
-
getPayload
- Returns:
- the notification payload value
-
setPayload
Set the payload value.- Returns:
- a reference to this, so the API can be used fluently
-
toJson
-