Package overit.geocall.event.model
Class ConsumerProperties
java.lang.Object
overit.geocall.event.model.ConsumerProperties
- All Implemented Interfaces:
Serializable
A ConsumerProperties entity is in charge to handle the parameters defined via system or company configuration, it contains
all properties needed to define a consumer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAgent()intlonggetSpins()getType()inthashCode()booleanbooleanvoidvoidsetCompanies(List<Company> companies) voidsetEmergencyTopic(String emergencyTopic) voidsetLogging(boolean logging) voidsetNThreads(int nThreads) voidsetParameters(Properties parameters) voidsetPartition(String partition) voidsetPoolTimeout(long poolTimeout) voidvoidvoidvoidsetTopicSegregation(boolean topicSegregation)
-
Constructor Details
-
ConsumerProperties
-
-
Method Details
-
getSubscription
-
getSource
-
getType
-
getTopics
-
getSpins
-
getEndpoint
-
getPartition
-
getEmergencyTopic
-
getParameters
-
getNThreads
public int getNThreads() -
getCompany
-
setTopics
-
setSpins
-
setPartition
-
setEmergencyTopic
-
setNThreads
public void setNThreads(int nThreads) -
isLogging
public boolean isLogging() -
setLogging
public void setLogging(boolean logging) -
setParameters
-
isTopicSegregation
public boolean isTopicSegregation() -
setTopicSegregation
public void setTopicSegregation(boolean topicSegregation) -
getAgent
-
setAgent
-
getTenant
-
setTenant
-
getCompanies
-
setCompanies
-
getPoolTimeout
public long getPoolTimeout() -
setPoolTimeout
public void setPoolTimeout(long poolTimeout) -
equals
-
hashCode
public int hashCode()
-