Codota Logo
QueryExecutor.processNotifies
Code IndexAdd Codota to your IDE (free)

How to use
processNotifies
method
in
org.postgresql.core.QueryExecutor

Best Java code snippets using org.postgresql.core.QueryExecutor.processNotifies (Showing top 4 results out of 315)

  • Common ways to obtain QueryExecutor
private void myMethod () {
QueryExecutor q =
  • Codota IconBaseConnection baseConnection;baseConnection.getQueryExecutor()
  • Codota IconProtocolConnection protocolConnection;protocolConnection.getQueryExecutor()
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

@Override
public PGNotification[] getNotifications(int timeoutMillis) throws SQLException {
 checkClosed();
 getQueryExecutor().processNotifies(timeoutMillis);
 // Backwards-compatibility hand-holding.
 PGNotification[] notifications = queryExecutor.getNotifications();
 return (notifications.length == 0 ? null : notifications);
}
origin: postgresql/postgresql

public PGNotification[] getNotifications() throws SQLException
{
  checkClosed();
  getQueryExecutor().processNotifies();
  // Backwards-compatibility hand-holding.
  PGNotification[] notifications = protoConnection.getNotifications();
  return (notifications.length == 0 ? null : notifications);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public PGNotification[] getNotifications() throws SQLException
{
  getQueryExecutor().processNotifies();
  // Backwards-compatibility hand-holding.
  PGNotification[] notifications = protoConnection.getNotifications();
  return (notifications.length == 0 ? null : notifications);
}
origin: org.ancoron.postgresql/org.postgresql

public PGNotification[] getNotifications() throws SQLException
{
  checkClosed();
  getQueryExecutor().processNotifies();
  // Backwards-compatibility hand-holding.
  PGNotification[] notifications = protoConnection.getNotifications();
  return (notifications.length == 0 ? null : notifications);
}
org.postgresql.coreQueryExecutorprocessNotifies

Javadoc

Prior to attempting to retrieve notifications, we need to pull any recently received notifications off of the network buffers. The notification retrieval in ProtocolConnection cannot do this as it is prone to deadlock, so the higher level caller must be responsible which requires exposing this method.

Popular methods of QueryExecutor

  • createFastpathParameters
    Create a new ParameterList implementation suitable for invoking a fastpath function via #fastpathCal
  • createSimpleQuery
    Create an unparameterized Query object suitable for execution by this QueryExecutor. The provided qu
  • execute
    Execute several Query, passing results to a provided ResultHandler.
  • fastpathCall
    Invoke a backend function via the fastpath interface.
  • fetch
    Fetch additional rows from a cursor.
  • startCopy
    Issues a COPY FROM STDIN / COPY TO STDOUT statement and returns handler for associated operation. Un
  • createParameterizedQuery
    Create a parameterized Query object suitable for execution by this QueryExecutor. The provided query
  • abort
    Abort at network level without sending the Terminate message to the backend.
  • borrowCallableQuery
  • borrowQuery
  • borrowQueryByKey
  • borrowReturningQuery
  • borrowQueryByKey,
  • borrowReturningQuery,
  • close,
  • createQuery,
  • createQueryByKey,
  • createQueryKey,
  • getApplicationName,
  • getAutoSave,
  • getBackendPID

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Table (org.hibernate.mapping)
    A relational table
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now