mirror of https://github.com/apache/activemq.git
change scope of variables from protected to private
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e0b6b731c
commit
8f85fdc36c
|
@ -33,13 +33,13 @@ public class RedeliveryPolicy implements Cloneable, Serializable {
|
||||||
public static final int NO_MAXIMUM_REDELIVERIES = -1;
|
public static final int NO_MAXIMUM_REDELIVERIES = -1;
|
||||||
|
|
||||||
// +/-15% for a 30% spread -cgs
|
// +/-15% for a 30% spread -cgs
|
||||||
protected double collisionAvoidanceFactor = 0.15d;
|
private double collisionAvoidanceFactor = 0.15d;
|
||||||
protected int maximumRedeliveries = 6;
|
private int maximumRedeliveries = 6;
|
||||||
protected long initialRedeliveryDelay = 1000L;
|
private long initialRedeliveryDelay = 1000L;
|
||||||
protected static Random randomNumberGenerator;
|
private static Random randomNumberGenerator;
|
||||||
protected boolean useCollisionAvoidance = false;
|
private boolean useCollisionAvoidance = false;
|
||||||
protected boolean useExponentialBackOff = false;
|
private boolean useExponentialBackOff = false;
|
||||||
protected short backOffMultiplier = 5;
|
private short backOffMultiplier = 5;
|
||||||
|
|
||||||
public RedeliveryPolicy() {
|
public RedeliveryPolicy() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue