Package io.iworkflow.core
Annotation Type RPC
-
@Retention(RUNTIME) @Target(METHOD) public @interface RPCThis is for annotating an RPC method for an implementation ofObjectWorkflowThe method must be in the form of one ofRpcDefinitionsAn RPC implementation can call any APIs to update external systems directly. However, it can also trigger some state execution (usingCommunicationAPI) to update in the background to ensure the consistency across systems.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description PersistenceLoadingTypedataAttributesLoadingTypejava.lang.String[]dataAttributesPartialLoadingKeysPersistenceLoadingTypesearchAttributesLoadingTypejava.lang.String[]searchAttributesPartialLoadingKeysinttimeoutSeconds
-
-
-
-
dataAttributesLoadingType
PersistenceLoadingType dataAttributesLoadingType
- Default:
- io.iworkflow.gen.models.PersistenceLoadingType.ALL_WITHOUT_LOCKING
-
-
-
searchAttributesLoadingType
PersistenceLoadingType searchAttributesLoadingType
- Default:
- io.iworkflow.gen.models.PersistenceLoadingType.ALL_WITHOUT_LOCKING
-
-