@Override
    public void updateLastArrivalTime(long timestamp) {
        LogicalStreamPreState state = (LogicalStreamPreState) stateHolder.getState();
        this.lock.lock();
        try {
            state.lastScheduledTime = timestamp + waitingTime;
            scheduler.notifyAt(state.lastScheduledTime);
        } finally {
            this.lock.unlock();
            stateHolder.returnState(state);
        }
    }
Construct an AbsentStreamPreStateProcessor object.

@param stateType   PATTERN or SEQUENCE
@param waitingTime the waiting time defined by 'for' keyword
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/AbsentStreamPreStateProcessor.java