public class RunnableConsumerThreadPoolFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<RunnableConsumerThreadPool>, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
RunnableConsumerThreadPoolFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
float |
getHighMark() |
float |
getLowMark() |
int |
getMaxThreads() |
String |
getName() |
RunnableConsumerThreadPool |
getObject() |
Class<? extends RunnableConsumerThreadPool> |
getObjectType() |
boolean |
isSingleton() |
void |
setHighMark(float highMark) |
void |
setLowMark(float lowMark) |
void |
setMaxThreads(int maxThreads) |
void |
setName(String name) |
public RunnableConsumerThreadPoolFactoryBean()
public RunnableConsumerThreadPool getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<RunnableConsumerThreadPool>
Exception
public Class<? extends RunnableConsumerThreadPool> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<RunnableConsumerThreadPool>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<RunnableConsumerThreadPool>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public String getName()
public void setName(String name)
public float getLowMark()
public void setLowMark(float lowMark)
public float getHighMark()
public void setHighMark(float highMark)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
Copyright © 2015. All Rights Reserved.