Interface Notification


public interface Notification
Postgres notification received via LISTEN.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns name of this notification.
    @Nullable String
    Returns additional information from the notifying process.
    int
    Returns the process id of the backend process making this notification.
  • Method Details

    • getName

      String getName()
      Returns name of this notification.
      Returns:
      name of this notification
    • getProcessId

      int getProcessId()
      Returns the process id of the backend process making this notification.
      Returns:
      process id of the backend process making this notification
    • getParameter

      @Nullable 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 null
      Returns:
      additional information from the notifying process