All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hazelcast.internal.longregister.client.codec.LongRegister.yaml Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
id: 255
name: LongRegister
methods:
  - id: 1
    name: addAndGet
    since: 2.0
    doc: |
      Atomically adds the given value to the current value.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
        - name: delta
          type: long
          nullable: false
          since: 2.0
          doc: |
            the value to add to the current value
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the updated value, the given value added to the current value
  - id: 2
    name: decrementAndGet
    since: 2.0
    doc: |
      Atomically decrements the current value by one.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the updated value, the current value decremented by one
  - id: 3
    name: get
    since: 2.0
    doc: |
      Gets the current value.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the current value
  - id: 4
    name: getAndAdd
    since: 2.0
    doc: |
      Atomically adds the given value to the current value.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
        - name: delta
          type: long
          nullable: false
          since: 2.0
          doc: |
            the value to add to the current value
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the old value before the add
  - id: 5
    name: getAndSet
    since: 2.0
    doc: |
      Atomically sets the given value and returns the old value.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
        - name: newValue
          type: long
          nullable: false
          since: 2.0
          doc: |
            the new value
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the old value
  - id: 6
    name: incrementAndGet
    since: 2.0
    doc: |
      Atomically increments the current value by one.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            The updated value, the current value incremented by one
  - id: 7
    name: getAndIncrement
    since: 2.0
    doc: |
      Atomically increments the current value by one.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
    response:
      params:
        - name: response
          type: long
          nullable: false
          since: 2.0
          doc: |
            the old value
  - id: 8
    name: set
    since: 2.0
    doc: |
      Atomically sets the given value.
    request:
      retryable: false
      partitionIdentifier: name
      params:
        - name: name
          type: String
          nullable: false
          since: 2.0
          doc: |
            The name of this IAtomicLong instance.
        - name: newValue
          type: long
          nullable: false
          since: 2.0
          doc: |
            The new value
    response: {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy