| Package | Description |
|---|---|
| org.gearman.server.persistence | |
| org.gearman.server.storage |
| Modifier and Type | Method and Description |
|---|---|
Collection<QueuedJob> |
RedisQueue.getAllForFunction(String functionName) |
Collection<QueuedJob> |
PostgresQueue.getAllForFunction(String functionName) |
Collection<QueuedJob> |
PersistenceEngine.getAllForFunction(String functionName) |
Collection<QueuedJob> |
MemoryQueue.getAllForFunction(String functionName) |
Collection<QueuedJob> |
RedisQueue.readAll() |
Collection<QueuedJob> |
PostgresQueue.readAll() |
Collection<QueuedJob> |
PersistenceEngine.readAll() |
Collection<QueuedJob> |
MemoryQueue.readAll() |
| Modifier and Type | Method and Description |
|---|---|
QueuedJob |
JobQueue.nextJob() |
QueuedJob |
JobQueue.poll()
Fetch the next job waiting -- this checks high, then normal, then low
Caveat: in the normal queue, we skip over any jobs whose timestamp has not
come yet (support for epoch jobs)
|
| Modifier and Type | Method and Description |
|---|---|
Collection<QueuedJob> |
JobQueue.getAllJobs() |
HashMap<String,com.google.common.collect.ImmutableList<QueuedJob>> |
JobQueue.getCopyOfJobQueues() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JobQueue.enqueue(QueuedJob runnableJob) |
boolean |
JobQueue.remove(QueuedJob queuedJob) |
Copyright © 2013. All Rights Reserved.