Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/org/jgroups/JChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public enum State {
protected final DiagnosticsHandler.ProbeHandler probe_handler=new JChannelProbeHandler(this);

@ManagedAttribute(description="Collect channel statistics",writable=true)
@Deprecated(forRemoval=true)
protected boolean stats=true;

@ManagedAttribute(description="Whether or not to discard messages sent by this channel",writable=true)
Expand Down Expand Up @@ -193,9 +194,13 @@ else if(ip_version == StackType.Dual)
public ProtocolStack stack() {return prot_stack;}
public UpHandler getUpHandler() {return up_handler;}
public JChannel setUpHandler(UpHandler h) {this.up_handler=h; return this;}
@Deprecated(forRemoval=true)
public boolean getStats() {return stats;}
@Deprecated(forRemoval=true)
public boolean stats() {return stats;}
@Deprecated(forRemoval=true)
public JChannel setStats(boolean stats) {this.stats=stats; return this;}
@Deprecated(forRemoval=true)
public JChannel stats(boolean stats) {this.stats=stats; return this;}
public boolean getDiscardOwnMessages() {return discard_own_messages;}
public JChannel setDiscardOwnMessages(boolean flag) {discard_own_messages=flag; return this;}
Expand Down