Examples of dequeue()


Examples of co.cask.cdap.data2.queue.QueueConsumer.dequeue()

  }

  @Override
  public InputDatum<T> tryDequeue(long timeout, TimeUnit timeoutUnit) throws IOException {
    QueueConsumer consumer = consumerSupplier.get();
    return new BasicInputDatum<byte[], T>(consumer.getQueueName(), consumer.dequeue(batchSize), decoder);
  }
}
View Full Code Here

Examples of co.cask.tigon.data.queue.QueueConsumer.dequeue()

  }

  @Override
  public InputDatum<T> tryDequeue(long timeout, TimeUnit timeoutUnit) throws IOException {
    QueueConsumer consumer = consumerSupplier.get();
    return new BasicInputDatum<byte[], T>(consumer.getQueueName(), consumer.dequeue(batchSize), decoder);
  }
}
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    Alarm alarm = _alarm;
    _alarm = null;

    if (alarm != null)
      alarm.dequeue();

    flush();

    _logWriter.close();
  }
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    Alarm alarm = _alarm;
    _alarm = null;

    if (alarm != null)
      alarm.dequeue();

    super.destroy();
  }

  private class FirstFilterChainMapper
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    {
      Alarm alarm = _alarm;
      _alarm = null;

      if (alarm != null)
        alarm.dequeue();
    }
  }
}
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    Alarm alarm = _alarm;
    _alarm = null;

    if (alarm != null)
      alarm.dequeue();
  }

  private DataConnection getConnection()
    throws SQLException
  {
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

      Alarm alarm = _alarm;
      _alarm = null;

      if (alarm != null)
        alarm.dequeue();

      try {
        if (_systemStore != null)
          _systemStore.close();
      } catch (Throwable e) {
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

      MatchRule matchRule = _matchRule;
      _matchRule = null;

      if (alarm != null)
        alarm.dequeue();

      if (matchRule != null)
        matchRule.destroy();

    }
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    Alarm alarm = _alarm;
    _alarm = null;

    if (alarm != null)
      alarm.dequeue();
  }

  private CacheMapConnection getConnection()
    throws SQLException
  {
View Full Code Here

Examples of com.caucho.util.Alarm.dequeue()

    Alarm alarm = _alarm;
    _alarm = null;

    if (alarm != null)
      alarm.dequeue();

    ArrayList<SessionImpl> list = new ArrayList<SessionImpl>();

    // XXX: messy way of dealing with saveOnlyOnShutdown
    synchronized (_sessions) {
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.