Class JGroupsCluster

java.lang.Object
org.jgroups.ReceiverAdapter
net.ontopia.persistence.proxy.JGroupsCluster
All Implemented Interfaces:
ClusterIF, org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver, org.jgroups.StateListener

public class JGroupsCluster extends org.jgroups.ReceiverAdapter implements ClusterIF
INTERNAL: Class that represents a cluster of OKS instances.
  • Field Details

  • Constructor Details

  • Method Details

    • join

      public void join()
      Specified by:
      join in interface ClusterIF
    • leave

      public void leave()
      Specified by:
      leave in interface ClusterIF
    • evictIdentity

      public void evictIdentity(IdentityIF identity)
      Specified by:
      evictIdentity in interface ClusterIF
    • evictFields

      public void evictFields(IdentityIF identity)
      Specified by:
      evictFields in interface ClusterIF
    • evictField

      public void evictField(IdentityIF identity, int field)
      Specified by:
      evictField in interface ClusterIF
    • clearDatacache

      public void clearDatacache()
      Specified by:
      clearDatacache in interface ClusterIF
    • evictCache

      public void evictCache(IdentityIF namespace, int cacheType, Object key)
      Specified by:
      evictCache in interface ClusterIF
    • evictCache

      public void evictCache(IdentityIF namespace, int cacheType, Collection keys)
      Specified by:
      evictCache in interface ClusterIF
    • clearCache

      public void clearCache(IdentityIF namespace, int cacheType)
      Specified by:
      clearCache in interface ClusterIF
    • flush

      public void flush()
      Specified by:
      flush in interface ClusterIF
    • processEvent

      protected void processEvent(JGroupsEvent e)
    • receive

      public void receive(org.jgroups.Message msg)
      Specified by:
      receive in interface org.jgroups.MessageListener
      Overrides:
      receive in class org.jgroups.ReceiverAdapter
    • viewAccepted

      public void viewAccepted(org.jgroups.View view)
      Specified by:
      viewAccepted in interface org.jgroups.MembershipListener
      Overrides:
      viewAccepted in class org.jgroups.ReceiverAdapter