Package org.postgresql.core
Class Notification
java.lang.Object
org.postgresql.core.Notification
- All Implemented Interfaces:
PGNotification
-
Constructor Summary
ConstructorsConstructorDescriptionNotification
(String name, int pid) Notification
(String name, int pid, String parameter) -
Method Summary
-
Constructor Details
-
Notification
-
Notification
-
-
Method Details
-
getName
Description copied from interface:PGNotification
Returns name of this notification.- Specified by:
getName
in interfacePGNotification
- Returns:
- name of this notification
-
getPID
public int getPID()Description copied from interface:PGNotification
Returns the process id of the backend process making this notification.- Specified by:
getPID
in interfacePGNotification
- Returns:
- process id of the backend process making this notification
-
getParameter
Description copied from interface:PGNotification
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.- Specified by:
getParameter
in interfacePGNotification
- Returns:
- additional information from the notifying process
-