Package com.vaadin
Class HazelcastBackend
java.lang.Object
com.vaadin.collaborationengine.Backend
com.vaadin.HazelcastBackend
public class HazelcastBackend
extends com.vaadin.collaborationengine.Backend
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.collaborationengine.Backend
com.vaadin.collaborationengine.Backend.EventIdNotFoundException, com.vaadin.collaborationengine.Backend.EventLog, com.vaadin.collaborationengine.Backend.Snapshot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddMembershipListener(com.vaadin.collaborationengine.MembershipListener membershipListener) CompletableFuture<com.vaadin.collaborationengine.Backend.Snapshot>loadLatestSnapshot(String name) com.vaadin.collaborationengine.Backend.EventLogopenEventLog(String topicId) replaceSnapshot(String name, UUID expectedId, UUID newId, String payload) Methods inherited from class com.vaadin.collaborationengine.Backend
getCollaborationEngine, setCollaborationEngine
-
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:
addMembershipListenerin classcom.vaadin.collaborationengine.Backend
-
openEventLog
- Specified by:
openEventLogin classcom.vaadin.collaborationengine.Backend
-
getNodeId
- Specified by:
getNodeIdin classcom.vaadin.collaborationengine.Backend
-
loadLatestSnapshot
public CompletableFuture<com.vaadin.collaborationengine.Backend.Snapshot> loadLatestSnapshot(String name) - Specified by:
loadLatestSnapshotin classcom.vaadin.collaborationengine.Backend
-
replaceSnapshot
public CompletableFuture<Void> replaceSnapshot(String name, UUID expectedId, UUID newId, String payload) - Specified by:
replaceSnapshotin classcom.vaadin.collaborationengine.Backend
-