Class InfinispanJGroupsChannelLookup

java.lang.Object
com.logicaldoc.enterprise.cluster.InfinispanJGroupsChannelLookup
All Implemented Interfaces:
org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup

public class InfinispanJGroupsChannelLookup extends Object implements org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup
A lookup class that makes Infinispan to use the JChannel created and handled by LogicalDOC
Since:
9.2.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • InfinispanJGroupsChannelLookup

      public InfinispanJGroupsChannelLookup()
  • Method Details

    • getJGroupsChannel

      public org.jgroups.JChannel getJGroupsChannel(Properties p)
      Specified by:
      getJGroupsChannel in interface org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup
    • shouldClose

      public boolean shouldClose()
      Specified by:
      shouldClose in interface org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup
    • shouldConnect

      public boolean shouldConnect()
      Specified by:
      shouldConnect in interface org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup
    • shouldDisconnect

      public boolean shouldDisconnect()
      Specified by:
      shouldDisconnect in interface org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup