package com.ruoyi.base.service;

public interface IBroadcastRecordService {

    boolean shouldBroadcast(Long taskId, Integer frequencyMinutes);

    void recordBroadcast(Long taskId);

    void recordBroadcast(Long taskId, Integer frequencyMinutes);

    void clearRecord(Long taskId);

    long getRemainingSeconds(Long taskId, Integer frequencyMinutes);
}