Examples of DbusBootstrapProducerStatsMBean


Examples of com.linkedin.databus.bootstrap.monitoring.producer.mbean.DbusBootstrapProducerStatsMBean

  @Override
  public DbusBootstrapProducerStatsMBean getSourceStats(String source) {
    Lock writeLock = acquireWriteLock();
    try
    {
      DbusBootstrapProducerStatsMBean result = getOrAddPerSourceCollector(source,writeLock);
      return result;
    }
    finally
    {
      releaseLock(writeLock);
View Full Code Here

Examples of com.linkedin.databus.bootstrap.monitoring.producer.mbean.DbusBootstrapProducerStatsMBean

    {
      _sourcePositions = new sourcePositions(_source);
      _sourcePositions.init();
      if (null != _statsCollector)
      {
        DbusBootstrapProducerStatsMBean stats = _statsCollector
            .getSourceStats(_source);
        stats.registerBatch(0, 0, -1, _sourcePositions.getApplyId(),
            _sourcePositions.getLogPos());
      }
    } catch (Exception e)
    {
      if (null != _statsCollector)
View Full Code Here

Examples of com.linkedin.databus.bootstrap.monitoring.producer.mbean.DbusBootstrapProducerStatsMBean

    } finally
    {
      _srcRm.stop();
      if (null != _statsCollector)
      {
        DbusBootstrapProducerStatsMBean stats = _statsCollector
            .getSourceStats(source);
        stats.registerBatch(_srcRm.getDuration() / 1000000L, rowsToApply,
            pos.getApplyWindowSCN(), pos.getApplyId(), pos.getLogPos());
      }
    }
    return rowsToApply;
  }
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.