public void tick(long time) {
        this.time.set(time);
        long startTime = fileStartTime.get();
        long duration = time - startTime;

        if (duration > FILE_TIMEOUT_MILISECONDS) {
            fileTimeOut.set(true);
        }
    }
public void tick(long time) {
        this.time.set(time);
        long startTime = fileStartTime.get();
        long duration = time - startTime;

        if (duration > FILE_TIMEOUT_MILISECONDS) {
            fileTimeOut.set(true);
        }
    }
public void tick ( long time ) { this . time . set ( time ) ; long startTime = fileStartTime . get ( ) ; long duration = time - startTime ; if ( duration > FILE_TIMEOUT_MILISECONDS ) { fileTimeOut . set ( true ) ; } }
Recieves a tick from our clock.
Recieves a tick from our clock .