@zeroc/ice
    Preparing search index...

    Class OperationMode

    Specifies if an operation is idempotent, which affects the retry behavior of the Ice client runtime.

    The Slice compiler generated this enum class from Slice enumeration ::Ice::OperationMode.

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructs a new enumerator.

      Parameters

      • name: string

        The name of the enumerator.

      • value: number

        The numeric value of the enumerator.

      Returns OperationMode

    Properties

    name: string

    The name of the enumerator.

    value: number

    The value of the enumerator.

    Idempotent: OperationMode

    An idempotent operation. The Ice client runtime does not guarantee at-most-once semantics for such an operation.

    When an operation is idempotent, the Ice runtime will attempt to transparently recover from certain runtime errors by re-issuing a failed request transparently.

    Nonmutating: OperationMode

    Equivalent to Ice.OperationMode.Idempotent, but deprecated.

    Use Idempotent instead.

    A non-idempotent operation (the default). The Ice client runtime guarantees that it will not violate at-most-once semantics for operations with this mode.

    Methods

    • Returns a string representation of the current enumerator.

      Returns string

      A string representation of the current enumerator.

    • Returns the enumerator corresponding to the specified numeric value.

      Parameters

      • value: number

        The enumerator value. The matching enumerator, or undefined if no enumerator corresponds to the given value.

      Returns OperationMode