com.amazon.redshift.RedshiftNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-jdbc42 Show documentation
Show all versions of redshift-jdbc42 Show documentation
Java JDBC 4.2 (JRE 8+) driver for Redshift database
The newest version!
/*
* Copyright (c) 2003, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package com.amazon.redshift;
/**
* This interface defines the public Redshift extension for Notifications.
*/
public interface RedshiftNotification {
/**
* Returns name of this notification.
*
* @return name of this notification
* @since 7.3
*/
String getName();
/**
* Returns the process id of the backend process making this notification.
*
* @return process id of the backend process making this notification
* @since 7.3
*/
int getPID();
/**
* 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.
*
* @return additional information from the notifying process
* @since 8.0
*/
String getParameter();
}