Interface JGroupsChannelLookup


  • @Deprecated
    public interface JGroupsChannelLookup
    Deprecated.
    since 11.0, this will be removed in the next major version with no direct replacement.
    A hook to pass in a JGroups channel. Implementations need to provide a public no-arg constructor as instances are created via reflection.
    Since:
    4.0
    Author:
    Manik Surtani
    • Method Detail

      • getJGroupsChannel

        org.jgroups.JChannel getJGroupsChannel​(Properties p)
        Deprecated.
        Retrieves a JGroups channel. Passes in all of the properties used to configure the channel.
        Parameters:
        p - properties
        Returns:
        a JGroups channel
      • shouldConnect

        boolean shouldConnect()
        Deprecated.
        Returns:
        true if the JGroupsTransport should connect the channel before using it; false if the transport should assume that the channel is connected.
      • shouldDisconnect

        boolean shouldDisconnect()
        Deprecated.
        Returns:
        true if the JGroupsTransport should disconnect the channel once it is done with it; false if the channel is to be left connected.
      • shouldClose

        boolean shouldClose()
        Deprecated.
        Returns:
        true if the JGroupsTransport should close the channel once it is done with it; false if the channel is to be left open.