Package io.iworkflow.core
Annotation Type RPC
-
@Retention(RUNTIME) @Target(METHOD) public @interface RPC
This is for annotating an RPC method for an implementation ofObjectWorkflow
The method must be in the form of one ofRpcDefinitions
An RPC implementation can call any APIs to update external systems directly. However, it can also trigger some state execution (usingCommunication
API) to update in the background to ensure the consistency across systems.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description PersistenceLoadingType
dataAttributesLoadingType
java.lang.String[]
dataAttributesPartialLoadingKeys
PersistenceLoadingType
searchAttributesLoadingType
java.lang.String[]
searchAttributesPartialLoadingKeys
int
timeoutSeconds
-
-
-
-
dataAttributesLoadingType
PersistenceLoadingType dataAttributesLoadingType
- Default:
- io.iworkflow.gen.models.PersistenceLoadingType.ALL_WITHOUT_LOCKING
-
-
-
searchAttributesLoadingType
PersistenceLoadingType searchAttributesLoadingType
- Default:
- io.iworkflow.gen.models.PersistenceLoadingType.ALL_WITHOUT_LOCKING
-
-