Deprecated API


Contents
Deprecated Classes
org.jgroups.blocks.DistributedHashtable
          Use ReplicatedHashMap instead 
org.jgroups.blocks.PullPushAdapter
          Use Receiver instead, this class will be removed in JGroups 3.0 
org.jgroups.blocks.ReplicatedHashtable
          Use ReplicatedHashMap instead 
 

Deprecated Methods
org.jgroups.stack.IpAddress.compare(IpAddress)
          Use #compareTo(org.jgroups.Address) instead 
org.jgroups.stack.IpAddress.compareToUnique(Object)
          Use #compareTo(org.jgroups.Address) instead 
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.jmx.JChannelMBean.down(Event)
            
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.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.stack.GossipRouter.getGossipRequestTimeout()
           
org.jgroups.protocols.pbcast.GMS.getJoinRetryTimeout()
            
org.jgroups.jmx.protocols.pbcast.NAKACKMBean.getMaxXmitSize()
          removed in 2.6 
org.jgroups.jmx.protocols.pbcast.NAKACK.getMaxXmitSize()
          removed in 2.6 
org.jgroups.protocols.pbcast.NAKACK.getMaxXmitSize()
          removed in 2.6 
org.jgroups.stack.GossipRouter.getRoutingClientReplyTimeout()
           
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.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.jmx.JChannel.setChannelListener(ChannelListener)
          Use addChannelListener() instead 
org.jgroups.stack.GossipRouter.setGossipRequestTimeout(long)
           
org.jgroups.protocols.pbcast.GMS.setJoinRetryTimeout(long)
            
org.jgroups.jmx.protocols.pbcast.NAKACKMBean.setMaxXmitSize(long)
          removed in 2.6 
org.jgroups.jmx.protocols.pbcast.NAKACK.setMaxXmitSize(long)
          removed in 2.6 
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.stack.GossipRouter.setRoutingClientReplyTimeout(long)
           
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.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 
 

Deprecated Constructors
org.jgroups.JChannel(Object)
          Use the constructors with specific parameter types instead. 
org.jgroups.blocks.MethodCall(String, Object[])
          Use one of the constructors that take class types as arguments 
 



Copyright ? 1998-2008 Bela Ban. All Rights Reserved.