Interface BRMGatewayConfigurationMBean
- All Known Implementing Classes:
BRMGatewayConfiguration
public interface BRMGatewayConfigurationMBean
The MBean interface to configuration settings used for BRM Gateway
-
Method Summary
Modifier and TypeMethodDescriptionintReturn Gateway Timeout IntervalintReturn Delay PeriodintReturn Initial DelaylongReturn Delay Period for queue threadintReturn Number Of threadsintReturn the connection retry countlongReturn the connection retry intervalintReturn the EmptyQueueThreadSleep intervalintReturn Gateway Sleep IntervalintReturn Gateway Batch SizeintReturn the Return Sleep intervalintReturn Receive Time OutintvoidsetBrmResponseTimeOutInterval(int brmResponseTimeOutInterval) This method used to set the gatewayTimeOutIntervalvoidsetBrmSchedulerThreadDelayPeriod(int brmSchedulerThreadDelayPeriod) This method used to set the Delay PeriodvoidsetBrmSchedulerThreadInitialDelay(int brmSchedulerThreadInitialDelay) This method used to set the Initial Delay TimevoidsetBrmSuspenseQueuePeriod(long brmSuspenseQueuePeriod) This method used to set the Delay Period for queue threadvoidsetBrmWorkerThreads(int brmWorkerThreads) This method used to set the Number Of ThreadsvoidsetConnectionRetryCount(int connectionRetryCount) Sets the connection retry countvoidsetConnectionRetryInterval(long connectionRetryInterval) Sets the connection retry intervalvoidsetEmptyQueueThreadSleepInterval(int emptyQueueThreadSleepInterval) This method used to set the EmptyQueueThreadSleep IntervalvoidsetGatewaySleepInterval(int gatewaySleepInterval) This method used to set the gatewaySleep IntervalvoidsetJmsBatchSize(int jmsBatchSize) This method used to set the gatewayBatchSizevoidsetJmsReceiveSleepInterval(int jmsReceiveSleepInterval) This method used to set the receiveSleepIntervalvoidsetJmsReceiveTimeout(int jmsReceiveTimeout) This method used to set the receiveTimeOutvoidsetKafkaPartition(String kafkaPartition) voidsetSchemaNumber(int schemaNumber)
-
Method Details
-
getEmptyQueueThreadSleepInterval
int getEmptyQueueThreadSleepInterval()Return the EmptyQueueThreadSleep interval- Returns:
- ThreadSleep Interval Time
-
setEmptyQueueThreadSleepInterval
void setEmptyQueueThreadSleepInterval(int emptyQueueThreadSleepInterval) This method used to set the EmptyQueueThreadSleep Interval- Parameters:
emptyQueueThreadSleepInterval-
-
getJmsReceiveSleepInterval
int getJmsReceiveSleepInterval()Return the Return Sleep interval- Returns:
- Return Sleep Interval
-
setJmsReceiveSleepInterval
void setJmsReceiveSleepInterval(int jmsReceiveSleepInterval) This method used to set the receiveSleepInterval- Parameters:
jmsReceiveSleepInterval-
-
getBrmResponseTimeOutInterval
int getBrmResponseTimeOutInterval()Return Gateway Timeout Interval- Returns:
- Gateway Timeout Interval
-
setBrmResponseTimeOutInterval
void setBrmResponseTimeOutInterval(int brmResponseTimeOutInterval) This method used to set the gatewayTimeOutInterval- Parameters:
brmResponseTimeOutInterval-
-
getGatewaySleepInterval
int getGatewaySleepInterval()Return Gateway Sleep Interval- Returns:
- Gateway Sleep Interval
-
setGatewaySleepInterval
void setGatewaySleepInterval(int gatewaySleepInterval) This method used to set the gatewaySleep Interval- Parameters:
gatewaySleepInterval-
-
getJmsBatchSize
int getJmsBatchSize()Return Gateway Batch Size- Returns:
- Gateway Batch Size
-
setJmsBatchSize
void setJmsBatchSize(int jmsBatchSize) This method used to set the gatewayBatchSize- Parameters:
jmsBatchSize-
-
getJmsReceiveTimeout
int getJmsReceiveTimeout()Return Receive Time Out- Returns:
- Receive Time Out
-
setJmsReceiveTimeout
void setJmsReceiveTimeout(int jmsReceiveTimeout) This method used to set the receiveTimeOut- Parameters:
jmsReceiveTimeout-
-
getBrmWorkerThreads
int getBrmWorkerThreads()Return Number Of threads- Returns:
- Gateway Sleep Interval
-
setBrmWorkerThreads
void setBrmWorkerThreads(int brmWorkerThreads) This method used to set the Number Of Threads- Parameters:
brmWorkerThreads-
-
getBrmSchedulerThreadInitialDelay
int getBrmSchedulerThreadInitialDelay()Return Initial Delay- Returns:
- Gateway Sleep Interval
-
setBrmSchedulerThreadInitialDelay
void setBrmSchedulerThreadInitialDelay(int brmSchedulerThreadInitialDelay) This method used to set the Initial Delay Time- Parameters:
brmSchedulerThreadInitialDelay-
-
getBrmSchedulerThreadDelayPeriod
int getBrmSchedulerThreadDelayPeriod()Return Delay Period- Returns:
- Gateway Sleep Interval
-
setBrmSchedulerThreadDelayPeriod
void setBrmSchedulerThreadDelayPeriod(int brmSchedulerThreadDelayPeriod) This method used to set the Delay Period- Parameters:
brmSchedulerThreadDelayPeriod-
-
getBrmSuspenseQueuePeriod
long getBrmSuspenseQueuePeriod()Return Delay Period for queue thread- Returns:
- Suspense Queue thread Sleep Interval
-
setBrmSuspenseQueuePeriod
void setBrmSuspenseQueuePeriod(long brmSuspenseQueuePeriod) This method used to set the Delay Period for queue thread- Parameters:
brmSuspenseQueuePeriod-
-
getConnectionRetryCount
int getConnectionRetryCount()Return the connection retry count- Returns:
- the connection retry count
-
setConnectionRetryCount
void setConnectionRetryCount(int connectionRetryCount) Sets the connection retry count- Parameters:
connectionRetryCount- the connection retry count to be set
-
getConnectionRetryInterval
long getConnectionRetryInterval()Return the connection retry interval- Returns:
- the connection retry interval
-
setConnectionRetryInterval
void setConnectionRetryInterval(long connectionRetryInterval) Sets the connection retry interval- Parameters:
connectionRetryInterval- the connection retry interval to be set
-
getSchemaNumber
int getSchemaNumber()- Returns:
-
setSchemaNumber
void setSchemaNumber(int schemaNumber) - Parameters:
schemaNumber-
-
getKafkaPartition
String getKafkaPartition()- Returns:
- kafkaPartition
-
setKafkaPartition
- Parameters:
kafkaPartition-
-