Top Description Fields Constructors Methods
org.jabref.logic.shared.listener

public Class PostgresSQLNotificationListener

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Imports
java.sql.SQLException, org.jabref.logic.shared.DBMSProcessor, .DBMSSynchronizer, org.postgresql.PGConnection, .PGNotification, org.slf4j.Logger, .LoggerFactory

A listener for PostgreSQL database notifications.

Field Summary

Modifier and TypeField and Description
private final DBMSSynchronizer
private static final Logger
private final PGConnection
private volatile boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

public void
stop()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dbmsSynchronizerback to summary
private final DBMSSynchronizer dbmsSynchronizer
LOGGERback to summary
private static final Logger LOGGER
pgConnectionback to summary
private final PGConnection pgConnection
stopback to summary
private volatile boolean stop

Constructor Detail

PostgresSQLNotificationListenerback to summary
public PostgresSQLNotificationListener(DBMSSynchronizer dbmsSynchronizer, PGConnection pgConnection)

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
stopback to summary
public void stop()