public class SEDAQueueConsumerPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DRAIN |
static String |
DRAINALL |
static String |
POLL |
static String |
TAKE |
Constructor and Description |
---|
SEDAQueueConsumerPolicy() |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
int |
getMaxElementsOnPoll() |
long |
getTimeoutOnPoll() |
void |
setAction(String action) |
void |
setMaxElementsOnPoll(int maxElementsOnPoll) |
void |
setTimeoutOnPoll(long timeoutOnPoll) |
public static final String TAKE
public static final String POLL
public static final String DRAINALL
public static final String DRAIN
public long getTimeoutOnPoll()
public void setTimeoutOnPoll(long timeoutOnPoll)
public int getMaxElementsOnPoll()
public void setMaxElementsOnPoll(int maxElementsOnPoll)
public String getAction()
public void setAction(String action)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.