Interface ActionListAsyncThresholdComputation
public interface ActionListAsyncThresholdComputation
Implement this interface to enforce asynchronous execution of Action list, i.e. ListToActionList view
-
Method Summary
Modifier and Type Method Description boolean
requiresAsync(com.onenetwork.platform.data.model.impl.ModelLevelType modelLevelType, java.util.List<java.lang.Long> ids, PlatformUserContext ctx)
Provides additional flexibility for developers to decide whether need a asynchronous execution or not.
-
Method Details
-
requiresAsync
boolean requiresAsync(com.onenetwork.platform.data.model.impl.ModelLevelType modelLevelType, java.util.List<java.lang.Long> ids, PlatformUserContext ctx)Provides additional flexibility for developers to decide whether need a asynchronous execution or not. This can be used for scenarios when each record is having too tfoo many child records and synchronous execution won't work.- Parameters:
modelLevelType
- model levelids
- list of surrogate keys of top level modelctx
- caller's contexts
-