Top Fields Constructors Methods
org.postgresql.core

public Class Notification

extends Object
implements PGNotification
Class Inheritance
All Implemented Interfaces
org.postgresql.PGNotification
Imports
org.postgresql.PGNotification

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final int

Constructor Summary

AccessConstructor and Description
public
Notification(String name, int pid)

public
Notification(String name, int pid, String parameter)

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements org.postgresql.PGNotification.getName.

Returns name of this notification.

public String
getParameter()

Implements org.postgresql.PGNotification.getParameter.

Returns additional information from the notifying process.

public int
getPID()

Implements org.postgresql.PGNotification.getPID.

Returns the process id of the backend process making this notification.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
parameterback to summary
private final String parameter
pidback to summary
private final int pid

Constructor Detail

Notificationback to summary
public Notification(String name, int pid)
Notificationback to summary
public Notification(String name, int pid, String parameter)

Method Detail

getNameback to summary
public String getName()

Implements org.postgresql.PGNotification.getName.

Doc from org.postgresql.PGNotification.getName.

Returns name of this notification.

Returns:String

name of this notification

Annotations
@Override
getParameterback to summary
public String getParameter()

Implements org.postgresql.PGNotification.getParameter.

Doc from org.postgresql.PGNotification.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:String

additional information from the notifying process

Annotations
@Override
getPIDback to summary
public int getPID()

Implements org.postgresql.PGNotification.getPID.

Doc from org.postgresql.PGNotification.getPID.

Returns the process id of the backend process making this notification.

Returns:int

process id of the backend process making this notification

Annotations
@Override