Sha256: a7f661d77233fb8584bd218027592547c814f465420da98e3495093378915e8c

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

module Momento
  class CacheClient

    def sorted_set_fetch_by_score: (cache_name: String, sorted_set_name: String, min_score: Float | nil, max_score: Float | nil, sort_order: Symbol, offset: Integer, count: Integer) -> SortedSetFetchResponse

    def sorted_set_put_element: (cache_name: String, sorted_set_name: String, value: String, score: Float, collection_ttl: CollectionTtl) -> SortedSetPutElementResponse

    type value_score_pair = [String, Float]
    type value_score_hash = { value: String, score: Float }
    def sorted_set_put_elements: (cache_name: String, sorted_set_name: String, elements: (Hash[String, Float] | Array[value_score_pair] | Array[value_score_hash]), collection_ttl: CollectionTtl) -> SortedSetPutElementsResponse
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
momento-0.4.9 sig/momento/cache_client.rbs