|
Deprecated Methods |
org.jgroups.stack.IpAddress.compare(IpAddress)
Use IpAddress.compareTo(org.jgroups.Address) instead |
org.jgroups.stack.IpAddress.compareToUnique(Object)
Use IpAddress.compareTo(org.jgroups.Address) instead |
org.jgroups.blocks.ReplicatedHashMap.contains(Object)
|
org.jgroups.JChannelFactory.createChannel(Object)
JChannel's conversion to type-specific
construction, and the subsequent deprecation of its
JChannel(Object) constructor, necessitate the
deprecation of this factory method as well. Type-specific
protocol stack configuration should be specfied during
construction of an instance of this factory. |
org.jgroups.JChannelFactory.createMultiplexerChannel(String, String)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.createMultiplexerChannel(String, String, boolean, String)
Use a shared transport instead of the multiplexer |
org.jgroups.stack.Protocol.downThreadEnabled()
down thread was removed |
org.jgroups.stack.ProtocolStack.dumpTimerQueue()
Use TP.getTimer() instead to fetch the timer from the
transport and then invoke the method on it |
org.jgroups.util.RspList.elementAt(int)
Use RspList.entrySet() or RspList.values() instead |
org.jgroups.blocks.ReplicatedHashMap.elements()
|
org.jgroups.stack.ProtocolStack.flushEvents()
|
org.jgroups.JChannel.getAllStates(Vector, long)
Not really needed - we always want to get the state from a single member,
use JChannel.getState(org.jgroups.Address, long) instead |
org.jgroups.Channel.getAllStates(Vector, long)
Not really needed - we always want to get the state from a single member |
org.jgroups.mux.Multiplexer.getApplicationIds()
Use ${link #getServiceIds()} instead |
org.jgroups.protocols.TP.getBindToAllInterfaces()
Use TP.isReceiveOnAllInterfaces() instead |
org.jgroups.JChannel.getChannelName()
Use JChannel.getClusterName() instead |
org.jgroups.Channel.getChannelName()
Use Channel.getClusterName() instead |
org.jgroups.blocks.MessageDispatcher.getDeadlockDetection()
|
org.jgroups.conf.ProtocolData.getDescription()
|
org.jgroups.protocols.pbcast.GMS.getJoinRetryTimeout()
|
org.jgroups.protocols.pbcast.NAKACK.getMaxXmitSize()
removed in 2.6 |
org.jgroups.JChannelFactory.getMultiplexerConfig()
Use a shared transport instead of the multiplexer |
org.jgroups.stack.Protocol.getProperties()
Use a getter to get the actual instance variable |
org.jgroups.protocols.TP.getSendInterfaces()
This property was removed in 2.7 |
org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(Object)
Used by the JChannel(Object) constructor which has been deprecated. |
org.jgroups.stack.ProtocolStack.getThreadFactory()
Use Protocol.getThreadFactory() instead |
org.jgroups.stack.ProtocolStack.getTimerThreadFactory()
|
org.jgroups.stack.ProtocolStack.getTimerThreads()
Use TP.getTimer() to fetch the timer and call getCorePoolSize() directly |
org.jgroups.JChannelFactory.hasMuxChannel(String, String)
Use a shared transport instead of the multiplexer |
org.jgroups.conf.ProtocolData.isOverride()
|
org.jgroups.protocols.TP.isSendOnAllInterfaces()
This property was removed in 2.7 |
org.jgroups.protocols.TP.isUseIncomingPacketHandler()
With the concurrent stack being the default, this property is ignored |
org.jgroups.blocks.ReplicatedHashMap.keys()
|
org.jgroups.Channel.peek(long)
Use a Receiver instead, this method will not be available in JGroups 3.0 |
org.jgroups.JChannel.receive(long)
Use a Receiver instead |
org.jgroups.Channel.receive(long)
Use a Receiver instead |
org.jgroups.Message.removeHeader(String)
Use getHeader() instead. The issue with removing a header is described in
http://jira.jboss.com/jira/browse/JGRP-393 |
org.jgroups.util.Headers.removeHeader(String)
Use getHeader() instead. The issue with removing a header is described in
http://jira.jboss.com/jira/browse/JGRP-393 |
org.jgroups.util.RspList.reset()
Use RspList.clear() instead |
org.jgroups.Channel.setChannelListener(ChannelListener)
Use addChannelListener() instead |
org.jgroups.blocks.RequestCorrelator.setConcurrentProcessing(boolean)
Not needed since the introduction of the concurrent stack |
org.jgroups.blocks.RequestCorrelator.setDeadlockDetection(boolean)
deadlock detection is not needed with a concurrent stack |
org.jgroups.blocks.MessageDispatcher.setDeadlockDetection(boolean)
|
org.jgroups.protocols.pbcast.GMS.setJoinRetryTimeout(long)
|
org.jgroups.protocols.pbcast.NAKACK.setMaxXmitSize(long)
removed in 2.6 |
org.jgroups.blocks.PullPushAdapter.setMembershipListener(MembershipListener)
Use PullPushAdapter.addMembershipListener(org.jgroups.MembershipListener) |
org.jgroups.JChannelFactory.setMultiplexerConfig(Element)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(Element, boolean)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(File)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(File, boolean)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(Object)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(Object, boolean)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(String)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(String, boolean)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(URL)
Use a shared transport instead of the multiplexer |
org.jgroups.JChannelFactory.setMultiplexerConfig(URL, boolean)
Use a shared transport instead of the multiplexer |
org.jgroups.stack.Protocol.setProperties(Properties)
The properties are now set through the @Property annotation on the attribute or setter |
org.jgroups.stack.Protocol.setPropertiesInternal(Properties)
Use a setter instead |
org.jgroups.stack.Protocol.setProperty(String, String)
Use the corresponding setter instead |
org.jgroups.stack.ProtocolStack.setThreadFactory(ThreadFactory)
Use Protocol.getThreadFactory() instead |
org.jgroups.stack.ProtocolStack.setTimerThreadFactory(ThreadFactory)
Use TP.setTimerThreadFactory(org.jgroups.util.ThreadFactory) instead |
org.jgroups.Event.setType(int)
in order to make an Event immutable |
org.jgroups.protocols.TP.setUseConcurrentStack(boolean)
the concurrent stack is used by default |
org.jgroups.util.ExposedByteArrayOutputStream.toString(int)
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
org.jgroups.stack.Protocol.upThreadEnabled()
up_thread was removed |