Code example for BlockingQueue

Methods: size

0
    LOG.info("_freePoolTakeLatency - Latency :" + _freePoolTakeLatency.getDuration()/1000000);
    LOG.info("_freePoolPutLatency Latency :" + _freePoolPutLatency.getDuration()/1000000);
    LOG.info("_bufferTakeLatency - Latency :" + _bufferTakeLatency.getDuration()/1000000);
    LOG.info("_bufferPutLatency - Latency :" + _bufferPutLatency.getDuration()/1000000);
    LOG.info("_handlerLatency - Latency :" + _handlerLatency.getDuration()/1000000);
    LOG.info("Buffer SIZE:" + _buffer.size());
  } 
 
  @Override 
  public boolean appendEvent(DbusEventKey key,
                             long sequenceId,
                             short pPartitionId,
                             short lPartitionId,
                             long timeStamp,
                             short srcId,
                             byte[] schemaId,
                             byte[] value,
                             boolean enableTracing,
                             DbusEventsStatisticsCollector statsCollector)
  { 
    throw new RuntimeException("Method not supported ||");