Examples of flushBatch()


Examples of com.avaje.ebeaninternal.api.SpiTransaction.flushBatch()

    SpiTransaction t = request.getTransaction();
    if (t.isBatchFlushOnQuery()) {
      // before we perform a query, we need to flush any
      // previous persist requests that are queued/batched.
      // The query may read data affected by those requests.
      t.flushBatch();
    }
  }

  public <T> int findRowCount(OrmQueryRequest<T> request) {
View Full Code Here

Examples of javax.websocket.RemoteEndpoint.Async.flushBatch()

  public void send(final URI receiverUri, final String message,
      final String tag) throws IOException {
    if (remotes.containsKey(receiverUri)) {
      final Async remote = remotes.get(receiverUri);
      remote.sendText(message);
      remote.flushBatch();
    } else {
      throw new IOException("Remote: " + receiverUri.toASCIIString()
          + " is currently not connected. (" + getAddress() + " / "
          + remotes.keySet() + ")");
    }
View Full Code Here

Examples of javax.websocket.RemoteEndpoint.Async.flushBatch()

  public void send(final URI receiverUri, final byte[] message,
      final String tag) throws IOException {
    if (remotes.containsKey(receiverUri)) {
      final Async remote = remotes.get(receiverUri);
      remote.sendBinary(ByteBuffer.wrap(message));
      remote.flushBatch();
    } else {
      throw new IOException("Remote: " + receiverUri.toASCIIString()
          + " is currently not connected.");
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.