public interface ConnectionFactoryControl
ClientSessionFactory| Modifier and Type | Method and Description |
|---|---|
void |
addJNDI(String jndi)
Add the JNDI binding to this destination
|
long |
getCallTimeout() |
long |
getClientFailureCheckPeriod() |
String |
getClientID()
Returns the Client ID of this connection factory (or
null if it is not set. |
int |
getConfirmationWindowSize() |
String |
getConnectionLoadBalancingPolicyClassName() |
long |
getConnectionTTL() |
int |
getConsumerMaxRate() |
int |
getConsumerWindowSize() |
DiscoveryGroupConfiguration |
getDiscoveryGroupConfiguration()
get the discovery group configuration
|
int |
getDupsOKBatchSize()
Returns the batch size (in bytes) between acknowledgements when using DUPS_OK_ACKNOWLEDGE mode.
|
int |
getFactoryType()
return the type of factory
|
String |
getGroupID() |
int |
getInitialMessagePacketSize() |
String[] |
getJNDIBindings()
Returns the JNDI bindings associated to this connection factory.
|
long |
getMaxRetryInterval() |
int |
getMinLargeMessageSize() |
String |
getName()
Returns the configuration name of this connection factory.
|
int |
getProducerMaxRate() |
int |
getProducerWindowSize() |
int |
getReconnectAttempts() |
long |
getRetryInterval() |
double |
getRetryIntervalMultiplier() |
int |
getScheduledThreadPoolMaxSize() |
TransportConfiguration[] |
getStaticConnectors() |
int |
getThreadPoolMaxSize() |
int |
getTransactionBatchSize()
Returns the batch size (in bytes) between acknowledgements when using a transacted session.
|
boolean |
isAutoGroup() |
boolean |
isBlockOnAcknowledge() |
boolean |
isBlockOnDurableSend() |
boolean |
isBlockOnNonDurableSend() |
boolean |
isCacheLargeMessagesClient() |
boolean |
isCompressLargeMessages() |
boolean |
isFailoverOnInitialConnection() |
boolean |
isHA()
does ths cf support HA
|
boolean |
isPreAcknowledge() |
boolean |
isUseGlobalPools() |
void |
setAutoGroup(boolean autoGroup) |
void |
setBlockOnAcknowledge(boolean blockOnAcknowledge) |
void |
setBlockOnDurableSend(boolean blockOnDurableSend) |
void |
setBlockOnNonDurableSend(boolean blockOnNonDurableSend) |
void |
setCacheLargeMessagesClient(boolean cacheLargeMessagesClient) |
void |
setCallTimeout(long callTimeout) |
void |
setClientFailureCheckPeriod(long clientFailureCheckPeriod) |
void |
setClientID(String clientID)
Sets the Client ID for this connection factory.
|
void |
setCompressLargeMessages(boolean compress) |
void |
setConfirmationWindowSize(int confirmationWindowSize) |
void |
setConnectionLoadBalancingPolicyClassName(String connectionLoadBalancingPolicyClassName) |
void |
setConnectionTTL(long connectionTTL) |
void |
setConsumerMaxRate(int consumerMaxRate) |
void |
setConsumerWindowSize(int consumerWindowSize) |
void |
setDupsOKBatchSize(int dupsOKBatchSize) |
void |
setFailoverOnInitialConnection(boolean failoverOnInitialConnection) |
void |
setGroupID(String groupID) |
void |
setMaxRetryInterval(long retryInterval) |
void |
setMinLargeMessageSize(int minLargeMessageSize) |
void |
setPreAcknowledge(boolean preAcknowledge) |
void |
setProducerMaxRate(int producerMaxRate) |
void |
setProducerWindowSize(int producerWindowSize) |
void |
setReconnectAttempts(int reconnectAttempts) |
void |
setRetryInterval(long retryInterval) |
void |
setRetryIntervalMultiplier(double retryIntervalMultiplier) |
void |
setScheduledThreadPoolMaxSize(int scheduledThreadPoolMaxSize) |
void |
setThreadPoolMaxSize(int threadPoolMaxSize) |
void |
setTransactionBatchSize(int transactionBatchSize) |
void |
setUseGlobalPools(boolean useGlobalPools) |
String getName()
String[] getJNDIBindings()
boolean isHA()
int getFactoryType()
String getClientID()
null if it is not set.void setClientID(String clientID)
boolean isCompressLargeMessages()
void setCompressLargeMessages(boolean compress)
long getClientFailureCheckPeriod()
ClientSessionFactory#getClientFailureCheckPeriod()void setClientFailureCheckPeriod(long clientFailureCheckPeriod)
ClientSessionFactory#setClientFailureCheckPeriodlong getCallTimeout()
ClientSessionFactory#getCallTimeout()void setCallTimeout(long callTimeout)
ClientSessionFactory#setCallTimeout(long)int getDupsOKBatchSize()
ClientSessionFactory#getAckBatchSize(),
Session.DUPS_OK_ACKNOWLEDGEvoid setDupsOKBatchSize(int dupsOKBatchSize)
ClientSessionFactory#setAckBatchSize(int)int getConsumerMaxRate()
ClientSessionFactory#getConsumerMaxRate()void setConsumerMaxRate(int consumerMaxRate)
ClientSessionFactory#setConsumerMaxRate(int)int getConsumerWindowSize()
ClientSessionFactory#getConsumerWindowSize()void setConsumerWindowSize(int consumerWindowSize)
ClientSessionFactory#setConfirmationWindowSize(int)int getProducerMaxRate()
ClientSessionFactory#getProducerMaxRate()void setProducerMaxRate(int producerMaxRate)
ClientSessionFactory#setProducerMaxRate(int)int getConfirmationWindowSize()
ClientSessionFactory#getConfirmationWindowSize()void setConfirmationWindowSize(int confirmationWindowSize)
ClientSessionFactory#setConfirmationWindowSize(int)boolean isBlockOnAcknowledge()
ClientSessionFactory#isBlockOnAcknowledge()void setBlockOnAcknowledge(boolean blockOnAcknowledge)
ClientSessionFactory#setBlockOnAcknowledge(boolean)boolean isBlockOnDurableSend()
ClientSessionFactory#isBlockOnDurableSend()void setBlockOnDurableSend(boolean blockOnDurableSend)
ClientSessionFactory#setBlockOnDurableSend(boolean)boolean isBlockOnNonDurableSend()
ClientSessionFactory#isBlockOnNonDurableSend()void setBlockOnNonDurableSend(boolean blockOnNonDurableSend)
ClientSessionFactory#setBlockOnNonDurableSend(boolean)boolean isPreAcknowledge()
ClientSessionFactory#isPreAcknowledge()void setPreAcknowledge(boolean preAcknowledge)
ClientSessionFactory#setPreAcknowledge(boolean)long getConnectionTTL()
ClientSessionFactory#getConnectionTTL()void setConnectionTTL(long connectionTTL)
ClientSessionFactory#setConnectionTTL(long)int getTransactionBatchSize()
ClientSessionFactory#getAckBatchSize()void setTransactionBatchSize(int transactionBatchSize)
ClientSessionFactory#setAckBatchSize(int)int getMinLargeMessageSize()
ClientSessionFactory#getMinLargeMessageSize()void setMinLargeMessageSize(int minLargeMessageSize)
ClientSessionFactory#setMinLargeMessageSize(int)boolean isAutoGroup()
ClientSessionFactory#isAutoGroup()void setAutoGroup(boolean autoGroup)
ClientSessionFactory#setAutoGroup(boolean)long getRetryInterval()
ClientSessionFactory#getRetryInterval()void setRetryInterval(long retryInterval)
ClientSessionFactory#setRetryInterval(long)double getRetryIntervalMultiplier()
ClientSessionFactory#getRetryIntervalMultiplier()void setRetryIntervalMultiplier(double retryIntervalMultiplier)
ClientSessionFactory#setRetryIntervalMultiplier(double)int getReconnectAttempts()
ClientSessionFactory#getReconnectAttempts()void setReconnectAttempts(int reconnectAttempts)
ClientSessionFactory#setReconnectAttempts(int)boolean isFailoverOnInitialConnection()
ClientSessionFactory#isFailoverOnInitialConnection()void setFailoverOnInitialConnection(boolean failoverOnInitialConnection)
ClientSessionFactory#setFailoverOnInitialConnection(boolean)int getProducerWindowSize()
org.hornetq.api.core.client.ClientSessionFactory#getProducerWindowSize()void setProducerWindowSize(int producerWindowSize)
ClientSessionFactory#setProducerWindowSize(int)boolean isCacheLargeMessagesClient()
ClientSessionFactory#isCacheLargeMessagesClient()void setCacheLargeMessagesClient(boolean cacheLargeMessagesClient)
ClientSessionFactory#setCacheLargeMessagesClient(boolean)long getMaxRetryInterval()
ClientSessionFactory#getMaxRetryInterval()void setMaxRetryInterval(long retryInterval)
ClientSessionFactory#setMaxRetryInterval(long)int getScheduledThreadPoolMaxSize()
ClientSessionFactory#getScheduledThreadPoolMaxSize()void setScheduledThreadPoolMaxSize(int scheduledThreadPoolMaxSize)
ClientSessionFactory#setScheduledThreadPoolMaxSize(int)int getThreadPoolMaxSize()
ClientSessionFactory#getThreadPoolMaxSize()void setThreadPoolMaxSize(int threadPoolMaxSize)
ClientSessionFactory#setThreadPoolMaxSize(int)String getGroupID()
ClientSessionFactory#getGroupID()void setGroupID(String groupID)
ClientSessionFactory#setGroupID(String)int getInitialMessagePacketSize()
ClientSessionFactory#getInitialMessagePacketSize()boolean isUseGlobalPools()
ClientSessionFactory#isUseGlobalPools()void setUseGlobalPools(boolean useGlobalPools)
ClientSessionFactory#setUseGlobalPools(boolean)String getConnectionLoadBalancingPolicyClassName()
ClientSessionFactory#getConnectionLoadBalancingPolicyClassName()void setConnectionLoadBalancingPolicyClassName(String connectionLoadBalancingPolicyClassName)
ClientSessionFactory#setConnectionLoadBalancingPolicyClassName(String)TransportConfiguration[] getStaticConnectors()
ClientSessionFactory#getStaticConnectors()DiscoveryGroupConfiguration getDiscoveryGroupConfiguration()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.