public class DistributedQueueEvent extends Object implements Delayed
| Constructor and Description |
|---|
DistributedQueueEvent(String queueName,
DistributedQueueManager.Event event) |
DistributedQueueEvent(String queueName,
DistributedQueueManager.Event event,
long msToDelay) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Delayed o) |
long |
getDelay(TimeUnit unit) |
DistributedQueueManager.Event |
getEvent() |
String |
getQueueName() |
String |
toString() |
public DistributedQueueEvent(String queueName, DistributedQueueManager.Event event)
public DistributedQueueEvent(String queueName, DistributedQueueManager.Event event, long msToDelay)
public String getQueueName()
public DistributedQueueManager.Event getEvent()
public int compareTo(Delayed o)
compareTo in interface Comparable<Delayed>Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.