SessionIndexStore
このコンテンツはまだ日本語訳がありません。
可选的会话索引存储:为多副本共享元数据,或为不支持条件写的对象存储提供 CAS 提交点。
get(endUserKey, sessionId): Promise<ColdStoredSessionMeta | null>;endUserKey
Section titled “endUserKey”string
sessionId
Section titled “sessionId”string
Promise<ColdStoredSessionMeta | null>
list()
Section titled “list()”list(endUserKey, cursor?): AsyncIterable<ColdStoredSessionMeta>;endUserKey
Section titled “endUserKey”string
cursor?
Section titled “cursor?”string
AsyncIterable<ColdStoredSessionMeta>
remove()
Section titled “remove()”remove(endUserKey, sessionId): Promise<void>;endUserKey
Section titled “endUserKey”string
sessionId
Section titled “sessionId”string
Promise<void>
upsert()
Section titled “upsert()”upsert(meta, expectedGeneration?): Promise<void>;expectedGeneration 不匹配须抛 precondition_failed
expectedGeneration?
Section titled “expectedGeneration?”number
Promise<void>
このページは役に立ちましたか?
フィードバックありがとうございます。この記事の改善に活かします。