java.lang.Object
com.aizuda.snailjob.server.job.task.support.cache.ResidentTaskCache
public class ResidentTaskCache
extends Object
- Since:
- 2.4.0
- Author:
- opensnail
-
Constructor Summary
Constructors
-
Method Summary
static boolean
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ResidentTaskCache
public ResidentTaskCache()
-
Method Details
-
refresh
public static void refresh(Long jobId,
Long nextTriggerTime)
-
getOrDefault
public static Long getOrDefault(Long jobId,
Long nextTriggerTime)
-
-
isResident
public static boolean isResident(Long jobId)