Class ResourceManager

java.lang.Object
org.jgroups.util.ResourceManager

public final class ResourceManager extends Object
Manages resources such as multicast addresses and multicast ports, and TCP ports. This class is mainly used for running unit tests in parallel (TestNG) and preventing clusters intended to be separate from joining each other.
  • Field Details

    • rep

      private static final ResourceManager.IpAddressRep rep
    • mcast_port

      private static short mcast_port
    • tcp_port

      private static int tcp_port
    • socket_factory

      private static final SocketFactory socket_factory
  • Constructor Details

    • ResourceManager

      private ResourceManager()
  • Method Details