io.cloudstate.javasupport.crdt.CrdtEntityFactory Maven / Gradle / Ivy
package io.cloudstate.javasupport.crdt;
/**
* Low level interface for handling commands for CRDTs.
*
* Generally, this should not be used, rather, a {@link CrdtEntity} annotated class should be
* used.
*/
public interface CrdtEntityFactory {
/**
* 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.
*
* @param context The creation context.
* @return The handler to handle commands.
*/
CrdtEntityHandler create(CrdtCreationContext context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy