Changeset f525685


Ignore:
Timestamp:
Jun 26, 2013 8:43:34 PM (7 years ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
ec70f24
Parents:
4970fd2
Message:

volatiles, finals

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/JobImpl.java

    r4970fd2 rf525685  
    1919    private final RouterContext _context;
    2020    private final JobTiming _timing;
    21     private static AtomicLong _idSrc = new AtomicLong();
     21    private static final AtomicLong _idSrc = new AtomicLong();
    2222    private final long _id;
    2323    //private Exception _addedBy;
    24     private long _madeReadyOn;
     24    private volatile long _madeReadyOn;
    2525   
    2626    public JobImpl(RouterContext context) {
  • router/java/src/net/i2p/router/JobTiming.java

    r4970fd2 rf525685  
    1717 */
    1818public class JobTiming implements Clock.ClockUpdateListener {
    19     private long _start;
    20     private long _actualStart;
    21     private long _actualEnd;
     19    private volatile long _start;
     20    private volatile long _actualStart;
     21    private volatile long _actualEnd;
    2222    private final RouterContext _context;
    2323   
Note: See TracChangeset for help on using the changeset viewer.