Package com.linkedin.databus.core.ConcurrentAppendableCompositeFileInputStream.InputStreamEnumerator

Examples of com.linkedin.databus.core.ConcurrentAppendableCompositeFileInputStream.InputStreamEnumerator.ParserLag


  private void updateParserStats() {
    if(_streamEnumerator == null || (_ggParserStats == null))
      return;


    ParserLag pLag = _streamEnumerator.calculateLag();
    if(LOG.isDebugEnabled())
      LOG.debug("running updateParserStats. lag=" + pLag);

    _ggParserStats.setBytesLag(pLag.getBytesLag());
    _ggParserStats.setFilesLag(pLag.getFilesLag());
    _ggParserStats.setModTimeLag(pLag.getTSBegin(), pLag.getTSEnd());
  }
View Full Code Here


          modTSLast = modTime;
        }
      } finally {
        _lock.unlock();
      }
      return new ParserLag(totalBytes, modTSFirst, modTSLast, totalFiles);
    }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.core.ConcurrentAppendableCompositeFileInputStream.InputStreamEnumerator.ParserLag

Copyright © 2018 www.massapicom. 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.