public class InMemoryWorkQueueRepository extends WorkQueueRepository
DW_DEFAULT_QUEUE_NAME, LOGGER, LRP_DEFAULT_QUEUE_NAME, queueName| Constructor and Description |
|---|
InMemoryWorkQueueRepository(Graph graph,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToQueue(String queueName,
byte[] data,
Priority priority) |
static void |
clearQueue() |
WorkerSpout |
createWorkerSpout(String queueName) |
protected void |
deleteQueue(String queueName) |
void |
flush() |
void |
format() |
static List<byte[]> |
getQueue(String queueName) |
Map<String,Status> |
getQueuesStatus() |
void |
pushOnQueue(String queueName,
byte[] data,
Priority priority) |
canHandle, getConfiguration, getGraph, getQueueName, hasDataWorkerRunner, pushElementImageQueue, pushGraphPropertyQueue, pushGraphPropertyQueue, pushLongRunningProcessQueue, pushMultipleGraphPropertyQueue, pushOnQueue, setDataWorkerRunner, setQueueNameinit, onShutdown, shutdown, start, stop@Inject public InMemoryWorkQueueRepository(Graph graph, Configuration configuration)
public void pushOnQueue(String queueName, byte[] data, Priority priority)
pushOnQueue in class WorkQueueRepositorypublic void flush()
flush in class WorkQueueRepositorypublic void format()
format in class WorkQueueRepositorypublic WorkerSpout createWorkerSpout(String queueName)
createWorkerSpout in class WorkQueueRepositorypublic Map<String,Status> getQueuesStatus()
getQueuesStatus in class WorkQueueRepositorypublic static void clearQueue()
protected void deleteQueue(String queueName)
deleteQueue in class WorkQueueRepositoryCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.