Package com.vaadin

Class HazelcastBackend

java.lang.Object
com.vaadin.collaborationengine.Backend
com.vaadin.HazelcastBackend

public class HazelcastBackend extends com.vaadin.collaborationengine.Backend
  • Constructor Details

    • HazelcastBackend

      public HazelcastBackend(com.hazelcast.core.HazelcastInstance hz)
  • Method Details

    • addMembershipListener

      public com.vaadin.flow.shared.Registration addMembershipListener(com.vaadin.collaborationengine.MembershipListener membershipListener)
      Specified by:
      addMembershipListener in class com.vaadin.collaborationengine.Backend
    • openEventLog

      public com.vaadin.collaborationengine.Backend.EventLog openEventLog(String topicId)
      Specified by:
      openEventLog in class com.vaadin.collaborationengine.Backend
    • getNodeId

      public UUID getNodeId()
      Specified by:
      getNodeId in class com.vaadin.collaborationengine.Backend
    • loadLatestSnapshot

      public CompletableFuture<com.vaadin.collaborationengine.Backend.Snapshot> loadLatestSnapshot(String name)
      Specified by:
      loadLatestSnapshot in class com.vaadin.collaborationengine.Backend
    • replaceSnapshot

      public CompletableFuture<Void> replaceSnapshot(String name, UUID expectedId, UUID newId, String payload)
      Specified by:
      replaceSnapshot in class com.vaadin.collaborationengine.Backend