Package org.apache.activemq.usage
Class SystemUsage
- java.lang.Object
-
- org.apache.activemq.usage.SystemUsage
-
-
Constructor Summary
Constructors Constructor Description SystemUsage()
SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore)
SystemUsage(SystemUsage parent, String name)
-
Method Summary
-
-
-
Constructor Detail
-
SystemUsage
public SystemUsage()
-
SystemUsage
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore)
-
SystemUsage
public SystemUsage(SystemUsage parent, String name)
-
-
Method Detail
-
getName
public String getName()
-
getMemoryUsage
public MemoryUsage getMemoryUsage()
- Returns:
- the memoryUsage
-
getStoreUsage
public StoreUsage getStoreUsage()
- Returns:
- the storeUsage
-
getTempUsage
public TempUsage getTempUsage()
- Returns:
- the tempDiskUsage
-
getJobSchedulerUsage
public JobSchedulerUsage getJobSchedulerUsage()
- Returns:
- the schedulerUsage
-
setSendFailIfNoSpace
public void setSendFailIfNoSpace(boolean failProducerIfNoSpace)
Sets whether or not a send() should fail if there is no space free. The default value is false which means to block the send() method until space becomes available
-
isSendFailIfNoSpace
public boolean isSendFailIfNoSpace()
-
getParent
public SystemUsage getParent()
-
setParent
public void setParent(SystemUsage parent)
-
isSendFailIfNoSpaceExplicitySet
public boolean isSendFailIfNoSpaceExplicitySet()
-
setSendFailIfNoSpaceExplicitySet
public void setSendFailIfNoSpaceExplicitySet(boolean sendFailIfNoSpaceExplicitySet)
-
getSendFailIfNoSpaceAfterTimeout
public long getSendFailIfNoSpaceAfterTimeout()
-
setSendFailIfNoSpaceAfterTimeout
public void setSendFailIfNoSpaceAfterTimeout(long sendFailIfNoSpaceAfterTimeout)
-
setName
public void setName(String name)
-
setMemoryUsage
public void setMemoryUsage(MemoryUsage memoryUsage)
-
setStoreUsage
public void setStoreUsage(StoreUsage storeUsage)
-
setTempUsage
public void setTempUsage(TempUsage tempDiskUsage)
-
setJobSchedulerUsage
public void setJobSchedulerUsage(JobSchedulerUsage jobSchedulerUsage)
-
getExecutor
public ThreadPoolExecutor getExecutor()
- Returns:
- the executor
-
setExecutor
public void setExecutor(ThreadPoolExecutor executor)
- Parameters:
executor
- the executor to set
-
getCheckLimitsLogLevel
public String getCheckLimitsLogLevel()
-
setCheckLimitsLogLevel
public void setCheckLimitsLogLevel(String checkLimitsLogLevel)
-
-