protected void addState(StateEvent stateEvent, StreamPreState state) {
        if (!((LogicalStreamPreState) state).active) {
            return;
        }
        lock.lock();
        try {
            super.addState(stateEvent, state);
            if (!isStartState) {
                if (waitingTime != -1) {
                    scheduler.notifyAt(stateEvent.getTimestamp() + waitingTime);
                    if (partnerStatePreProcessor instanceof AbsentLogicalPreStateProcessor) {
                        ((AbsentLogicalPreStateProcessor) partnerStatePreProcessor).scheduler.notifyAt(
                                stateEvent.getTimestamp() +
                                        ((AbsentLogicalPreStateProcessor) partnerStatePreProcessor).waitingTime);
                    }
                }
            }
        } finally {
            lock.unlock();
        }
    }
The time defined by 'for' in an absence pattern.
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/AbsentLogicalPreStateProcessor.java