Home » activemq-parent-5.3.1-source-release » org.apache » activemq » usage » [javadoc | source]
public class: SystemUsage [javadoc | source]

All Implemented Interfaces:

Holder for Usage instances for memory, store and temp files Main use case is manage memory usage.
 public SystemUsage() 
 public SystemUsage(SystemUsage parent,
    String name) 
 public SystemUsage(String name,
    PersistenceAdapter adapter,
    Store tempStore) 
Method from org.apache.activemq.usage.SystemUsage Summary:
getMemoryUsage,   getName,   getParent,   getSendFailIfNoSpaceAfterTimeout,   getStoreUsage,   getTempUsage,   isSendFailIfNoSpace,   isSendFailIfNoSpaceExplicitySet,   setMemoryUsage,   setName,   setParent,   setSendFailIfNoSpace,   setSendFailIfNoSpaceAfterTimeout,   setSendFailIfNoSpaceExplicitySet,   setStoreUsage,   setTempUsage,   start,   stop,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.usage.SystemUsage Detail:
 public MemoryUsage getMemoryUsage() 
 public String getName() 
 public SystemUsage getParent() 
 public long getSendFailIfNoSpaceAfterTimeout() 
 public StoreUsage getStoreUsage() 
 public TempUsage getTempUsage() 
 public boolean isSendFailIfNoSpace() 
 public boolean isSendFailIfNoSpaceExplicitySet() 
 public  void setMemoryUsage(MemoryUsage memoryUsage) 
 public  void setName(String name) 
 public  void setParent(SystemUsage parent) 
 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
 public  void setSendFailIfNoSpaceAfterTimeout(long sendFailIfNoSpaceAfterTimeout) 
 public  void setSendFailIfNoSpaceExplicitySet(boolean sendFailIfNoSpaceExplicitySet) 
 public  void setStoreUsage(StoreUsage storeUsage) 
 public  void setTempUsage(TempUsage tempDiskUsage) 
 public  void start() 
 public  void stop() 
 public String toString()