Package org.postgresql
Interface PGNotification
-
- All Known Implementing Classes:
Notification
public interface PGNotification
This interface defines the public PostgreSQL extension for Notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Returns name of this notification.java.lang.String
getParameter()
Returns additional information from the notifying process.int
getPID()
Returns the process id of the backend process making this notification.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns name of this notification.- Returns:
- name of this notification
- Since:
- 7.3
-
getPID
int getPID()
Returns the process id of the backend process making this notification.- Returns:
- process id of the backend process making this notification
- Since:
- 7.3
-
getParameter
java.lang.String getParameter()
Returns additional information from the notifying process. This feature has only been implemented in server versions 9.0 and later, so previous versions will always return an empty String.- Returns:
- additional information from the notifying process
- Since:
- 8.0
-
-