Package com.rpl.rama
Interface SelectOptions
- All Known Subinterfaces:
SelectOptions.Impl
- All Known Implementing Classes:
SelectOptions.CaptureSelectOptions
public interface SelectOptions
Interface for declaring options for select calls in topologies.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interface -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SelectOptions.ImplAllow the select call to yield during execution in order to not run for too long at a time on the task thread.static SelectOptions.Implcreate()Creates an empty SubiSelectOptionsndexOptions.
-
Method Details
-
create
Creates an empty SubiSelectOptionsndexOptions.SelectOptions.allowYield()is the same asSelectOptions.create().allowYield() -
allowYield
Allow the select call to yield during execution in order to not run for too long at a time on the task thread. Navigators will automatically paginate while traversing structures to maximize efficiency. A stable view of the PState is used for the full select, so even if the path yields many times during execution, it's always traversing the value of the PState when the select began. Yileding is disallowed by default for colocated PStates and is always allowed for mirror PStates.
-