NO-JIRA fix few typos and a docstring
This commit is contained in:
parent
36357e4556
commit
3e1237c1eb
|
@ -70,7 +70,7 @@ import org.apache.activemq.artemis.core.persistence.Persister;
|
||||||
*/
|
*/
|
||||||
public interface Message {
|
public interface Message {
|
||||||
|
|
||||||
// This is an estimate of how much memory a Message takes up, exclusing body and properties
|
// This is an estimate of how much memory a Message takes up, excluding body and properties
|
||||||
// Note, it is only an estimate, it's not possible to be entirely sure with Java
|
// Note, it is only an estimate, it's not possible to be entirely sure with Java
|
||||||
// This figure is calculated using the test utilities in org.apache.activemq.tests.unit.util.sizeof
|
// This figure is calculated using the test utilities in org.apache.activemq.tests.unit.util.sizeof
|
||||||
// The value is somewhat higher on 64 bit architectures, probably due to different alignment
|
// The value is somewhat higher on 64 bit architectures, probably due to different alignment
|
||||||
|
|
|
@ -37,7 +37,7 @@ related JIRA or an email to the [dev list](http://activemq.apache.org/mailing-li
|
||||||
|
|
||||||
1. Build with Maven
|
1. Build with Maven
|
||||||
|
|
||||||
Typically developers will want to build using the `dev` profile which disables license and code style checks. For
|
Typically developers will want to build using the `dev` profile which enables license and code style checks. For
|
||||||
example:
|
example:
|
||||||
|
|
||||||
$ mvn -Pdev install
|
$ mvn -Pdev install
|
||||||
|
|
|
@ -362,9 +362,9 @@ public class SlowConsumerTest extends ActiveMQTestBase {
|
||||||
* messages at a rate of 2 messages per second. Each consumer
|
* messages at a rate of 2 messages per second. Each consumer
|
||||||
* consumes messages at rate of 1 message per second. The slow
|
* consumes messages at rate of 1 message per second. The slow
|
||||||
* consumer threshold is 1 message per second.
|
* consumer threshold is 1 message per second.
|
||||||
* Based on the above settings, at least one of the consumers
|
* Based on the above settings, slow consumer removal will not
|
||||||
* will be removed during the test, but at least one of the
|
* be performed (2 < 3*1), so no consumer will be removed during the
|
||||||
* consumers will remain and all messages will be received.
|
* test, and all messages will be received.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testMultipleConsumersOneQueue() throws Exception {
|
public void testMultipleConsumersOneQueue() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue