Code example for AtomicLong

Methods: getset

    if(_thread == null)
      // Thread is not already running. Go ahead and start a new one. 
      _sinceSCN.set(sinceSCN);"Starting EventProducerThread from SCN: " + _sinceSCN.get());
      _pauseRequested = false;
      _shutdownRequested = false;
      // init the buffer with the start SCN 
      //only valid for first restart 
      if (_coldStart) {
      _thread = new EventProducerThread(_name);
Connect your IDE to all the code out there  Get Codota for Java