public class JobStore extends Object
Modifier and Type | Field and Description |
---|---|
static long |
MAX_JOB_AGE_DEFAULT |
long |
maxJobAge |
Constructor and Description |
---|
JobStore() |
Modifier and Type | Method and Description |
---|---|
void |
addJob(UFTPBaseRequest job) |
void |
checkForExpiredJobs()
check if "zombie" jobs exist and clean them up
|
UFTPBaseRequest |
getJob(String secret) |
List<UFTPBaseRequest> |
getJobs(InetAddress clientAddress) |
boolean |
haveJobs(InetAddress inetAddress) |
void |
remove(UFTPBaseRequest job) |
public static final long MAX_JOB_AGE_DEFAULT
public final long maxJobAge
public void addJob(UFTPBaseRequest job)
public void remove(UFTPBaseRequest job)
public UFTPBaseRequest getJob(String secret)
public List<UFTPBaseRequest> getJobs(InetAddress clientAddress)
public boolean haveJobs(InetAddress inetAddress)
public void checkForExpiredJobs()
Copyright © 2010–2018 UNICORE. All rights reserved.