Package com.vaadin
Class HazelcastBackend
- java.lang.Object
-
- com.vaadin.collaborationengine.Backend
-
- com.vaadin.HazelcastBackend
-
public class HazelcastBackend extends com.vaadin.collaborationengine.Backend
-
-
Constructor Summary
Constructors Constructor Description HazelcastBackend(com.hazelcast.core.HazelcastInstance hz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.shared.RegistrationaddMembershipListener(com.vaadin.collaborationengine.MembershipListener membershipListener)java.util.UUIDgetNodeId()java.util.concurrent.CompletableFuture<com.vaadin.collaborationengine.Backend.Snapshot>loadLatestSnapshot(java.lang.String name)com.vaadin.collaborationengine.Backend.EventLogopenEventLog(java.lang.String topicId)java.util.concurrent.CompletableFuture<java.lang.Void>replaceSnapshot(java.lang.String name, java.util.UUID expectedId, java.util.UUID newId, java.lang.String payload)
-
-
-
Method Detail
-
addMembershipListener
public com.vaadin.flow.shared.Registration addMembershipListener(com.vaadin.collaborationengine.MembershipListener membershipListener)
- Specified by:
addMembershipListenerin classcom.vaadin.collaborationengine.Backend
-
openEventLog
public com.vaadin.collaborationengine.Backend.EventLog openEventLog(java.lang.String topicId)
- Specified by:
openEventLogin classcom.vaadin.collaborationengine.Backend
-
getNodeId
public java.util.UUID getNodeId()
- Specified by:
getNodeIdin classcom.vaadin.collaborationengine.Backend
-
loadLatestSnapshot
public java.util.concurrent.CompletableFuture<com.vaadin.collaborationengine.Backend.Snapshot> loadLatestSnapshot(java.lang.String name)
- Specified by:
loadLatestSnapshotin classcom.vaadin.collaborationengine.Backend
-
replaceSnapshot
public java.util.concurrent.CompletableFuture<java.lang.Void> replaceSnapshot(java.lang.String name, java.util.UUID expectedId, java.util.UUID newId, java.lang.String payload)- Specified by:
replaceSnapshotin classcom.vaadin.collaborationengine.Backend
-
-