Package io.cloudstate.javasupport.crdt
Interface CrdtEntityFactory
-
public interface CrdtEntityFactoryLow level interface for handling commands for CRDTs.Generally, this should not be used, rather, a
CrdtEntityannotated class should be used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CrdtEntityHandlercreate(CrdtCreationContext context)Create a CRDT entity handler for the given context.
-
-
-
Method Detail
-
create
CrdtEntityHandler create(CrdtCreationContext context)
Create a CRDT entity handler for the given context.This will be invoked each time a new CRDT entity stream from the proxy is established, for handling commands\ for a single CRDT.
- Parameters:
context- The creation context.- Returns:
- The handler to handle commands.
-
-