All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazon.redshift.RedshiftNotification Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy