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:
  • Method Details

    • create

      static SelectOptions.Impl create()
      Creates an empty SubiSelectOptionsndexOptions. SelectOptions.allowYield() is the same as SelectOptions.create().allowYield()
    • allowYield

      static SelectOptions.Impl 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.