mirror of https://github.com/apache/activemq.git
make local and remote info final
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@675260 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6dc44747b4
commit
730aef4d1e
|
@ -29,8 +29,8 @@ import org.apache.activemq.command.ConsumerInfo;
|
|||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class DemandSubscription {
|
||||
private ConsumerInfo remoteInfo;
|
||||
private ConsumerInfo localInfo;
|
||||
private final ConsumerInfo remoteInfo;
|
||||
private final ConsumerInfo localInfo;
|
||||
private Set<ConsumerId> remoteSubsIds = new CopyOnWriteArraySet<ConsumerId>();
|
||||
private AtomicInteger dispatched = new AtomicInteger(0);
|
||||
|
||||
|
@ -104,12 +104,6 @@ public class DemandSubscription {
|
|||
return localInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param localInfo The localInfo to set.
|
||||
*/
|
||||
public void setLocalInfo(ConsumerInfo localInfo) {
|
||||
this.localInfo = localInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Returns the remoteInfo.
|
||||
|
@ -117,12 +111,4 @@ public class DemandSubscription {
|
|||
public ConsumerInfo getRemoteInfo() {
|
||||
return remoteInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param remoteInfo The remoteInfo to set.
|
||||
*/
|
||||
public void setRemoteInfo(ConsumerInfo remoteInfo) {
|
||||
this.remoteInfo = remoteInfo;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue