Code example for AtomicLong

Methods: get

0
  } 
 
  @Override 
  public long getSCN() 
  { 
    return _sinceSCN.get();
  } 
 
  @Override 
  public synchronized void start(long sinceSCN)
  { 
 
    _log.info(getClass().getSimpleName() + ".start: sinceScn = " + sinceSCN + "restartScnOffset = " +
              _restartScnOffset);
 
    if (sinceSCN < 0 && null != _maxScnReaderWriter)
    { 
      try 
      { 
        _log.info("attempting to read persistent event producer checkpoint ");
        sinceSCN = _maxScnReaderWriter.getMaxScn();