public class AsyncErrataCloneCounter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addAsyncErrataCloneJob(java.lang.Long cid)
Call this with the channel id when scheduling a new asyncronous
errata clone job
|
boolean |
channelHasPendingJobs(java.lang.Long cid)
Check if a channel has pending asyncrhonous errata clone jobs
|
static AsyncErrataCloneCounter |
getInstance()
Get the one and only instance of AsyncErrataCloneCounter
|
void |
removeAsyncErrataCloneJob(java.lang.Long cid)
Call this with channel id when completeing an asynchronous
errata clone job
|
public static AsyncErrataCloneCounter getInstance()
public boolean channelHasPendingJobs(java.lang.Long cid)
cid
- channel idpublic void addAsyncErrataCloneJob(java.lang.Long cid)
cid
- channel idpublic void removeAsyncErrataCloneJob(java.lang.Long cid)
cid
- channel id