Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAtomicLong

Hierarchy

Implemented by

Index

Methods

addAndGet

  • addAndGet(delta: Long | number): Promise<Long>

compareAndSet

  • compareAndSet(expect: Long | number, update: Long | number): Promise<boolean>
  • Parameters

    • expect: Long | number
    • update: Long | number

    Returns Promise<boolean>

decrementAndGet

  • decrementAndGet(): Promise<Long>

destroy

  • destroy(): Promise<void>

get

  • get(): Promise<Long>

getAndAdd

  • getAndAdd(delta: Long | number): Promise<Long>

getAndIncrement

  • getAndIncrement(): Promise<Long>

getAndSet

  • getAndSet(newValue: Long | number): Promise<Long>

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

incrementAndGet

  • incrementAndGet(): Promise<Long>

set

  • set(newValue: Long | number): Promise<void>

Generated using TypeDoc