public class DestinationConfiguration
extends Object
implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DESTINATION_TYPE_PARALLEL |
static String |
DESTINATION_TYPE_SERIAL |
static String |
DESTINATION_TYPE_SYNCHRONOUS |
Constructor and Description |
---|
DestinationConfiguration(String destinationType,
String destinationName) |
Modifier and Type | Method and Description |
---|---|
static DestinationConfiguration |
createParallelDestinationConfiguration(String destinationName) |
static DestinationConfiguration |
createSerialDestinationConfiguration(String destinationName) |
static DestinationConfiguration |
createSynchronousDestinationConfiguration(String destinationName) |
boolean |
equals(Object object) |
String |
getDestinationName() |
String |
getDestinationType() |
int |
getMaximumQueueSize() |
RejectedExecutionHandler |
getRejectedExecutionHandler() |
int |
getWorkersCoreSize() |
int |
getWorkersMaxSize() |
int |
hashCode() |
void |
setDestinationType(String destinationType) |
void |
setMaximumQueueSize(int maximumQueueSize) |
void |
setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) |
void |
setWorkersCoreSize(int workersCoreSize) |
void |
setWorkersMaxSize(int workersMaxSize) |
String |
toString() |
public static final String DESTINATION_TYPE_PARALLEL
public static final String DESTINATION_TYPE_SERIAL
public static final String DESTINATION_TYPE_SYNCHRONOUS
public DestinationConfiguration(String destinationType, String destinationName)
public static DestinationConfiguration createParallelDestinationConfiguration(String destinationName)
public static DestinationConfiguration createSerialDestinationConfiguration(String destinationName)
public static DestinationConfiguration createSynchronousDestinationConfiguration(String destinationName)
public boolean equals(Object object)
equals
in class Object
public String getDestinationName()
public String getDestinationType()
public int getMaximumQueueSize()
public RejectedExecutionHandler getRejectedExecutionHandler()
public int getWorkersCoreSize()
public int getWorkersMaxSize()
public int hashCode()
hashCode
in class Object
public void setDestinationType(String destinationType)
public void setMaximumQueueSize(int maximumQueueSize)
public void setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
public void setWorkersCoreSize(int workersCoreSize)
public void setWorkersMaxSize(int workersMaxSize)
public String toString()
toString
in class Object