Deprecated API
Contents
-
Deprecated ClassesClassDescriptionUse
ReplicatedHashMap
insteadUseReceiver
instead, this class will be removed in JGroups 3.0UseReplicatedHashMap
instead
-
Deprecated MethodsMethodDescriptionNot really needed - we always want to get the state from a single memberUse
Channel.getClusterName()
insteadUse aReceiver
instead, this method will not be available in JGroups 3.0Use aReceiver
insteadUse addChannelListener() insteadUsed by the JChannel(Object) constructor which has been deprecated.in order to make an Event immutableNot really needed - we always want to get the state from a single member, useJChannel.getState(org.jgroups.Address, long)
insteadUseJChannel.getClusterName()
insteadUse aReceiver
insteadJChannel
's conversion to type-specific construction, and the subsequent deprecation of itsJChannel(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.Use addChannelListener() insteadremoved in 2.6removed in 2.6removed in 2.6removed in 2.6Use getHeader() instead. The issue with removing a header is described in http://jira.jboss.com/jira/browse/JGRP-393Use ${link #getServiceIds()} insteadremoved in 2.6removed in 2.6UseTP.isReceiveOnAllInterfaces()
insteadUseIpAddress.compareTo(org.jgroups.Address)
insteadUseIpAddress.compareTo(org.jgroups.Address)
insteaddown thread was removedup_thread was removedUseTP.getTimer()
instead to fetch the timer from the transport and then invoke the method on itUseProtocol.getThreadFactory()
insteadUseTP.getTimer()
to fetch the timer and call getCorePoolSize() directlyUseProtocol.getThreadFactory()
insteadThis method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via thetoString(String enc)
method, which takes an encoding-name argument, or thetoString()
method, which uses the platform's default character encoding.Use getHeader() instead. The issue with removing a header is described in http://jira.jboss.com/jira/browse/JGRP-393UseRspList.entrySet()
orRspList.values()
insteadUseRspList.clear()
instead
-
Deprecated ConstructorsConstructorDescriptionUse one of the constructors that take class types as argumentsUse the constructors with specific parameter types instead.