Project: /_project.yaml Book: /_book.yaml

fuchsia.stash

PROTOCOLS

ListIterator {:#ListIterator}

Defined in fuchsia.stash/stash.fidl

The iterator returned when a series of keys are being listed. Returns an empty vector when there are no more remaining ListItems.

GetNext {:#GetNext}

Request

Response

GetIterator {:#GetIterator}

Defined in fuchsia.stash/stash.fidl

The iterator returned when a series of keys are being read. Returns an empty vector when there are no more remaining KeyValues.

GetNext {:#GetNext}

Request

Response

StoreAccessor {:#StoreAccessor}

Defined in fuchsia.stash/stash.fidl

The interface returned when a new accessor is created.

GetValue {:#GetValue}

Gets a single value from the store.

Request

Response

SetValue {:#SetValue}

Sets a single value in the store. Overwrites existing values. Commit() must be called for this change to take effect.

Request

DeleteValue {:#DeleteValue}

Deletes a single value in the store. Does nothing if the value doesn't exist. Commit() must be called for this change to take effect.

Request

ListPrefix {:#ListPrefix}

Lists all keys under a given prefix.

Request

GetPrefix {:#GetPrefix}

Reads the values of all keys under a given prefix.

Request

DeletePrefix {:#DeletePrefix}

Deletes the all keys under a given prefix.

Request

Commit {:#Commit}

Atomically causes all of the state modifications that happened in this accessor to take place.

Request

Store {:#Store}

Defined in fuchsia.stash/stash.fidl

Interface used to interact with a given client's key/value store

Identify {:#Identify}

Identify should be called at the beginning of a connection to identify which client service's store is to be accessed. In the future this will be deprecated in favor of component monikers, and each client will only be able to access its own store.

Request

CreateAccessor {:#CreateAccessor}

Creates a accessor for interacting with the store. The resulting interface can be used to inspect and modify the state of the store.

Request

SecureStore {:#SecureStore}

Defined in fuchsia.stash/stash.fidl

Interface used to interact with a given client's key/value store. The bytes type is disabled in this store.

Identify {:#Identify}

Identify should be called at the beginning of a connection to identify which client service's store is to be accessed. In the future this will be deprecated in favor of component monikers, and each client will only be able to access its own store.

Request

CreateAccessor {:#CreateAccessor}

Creates a accessor for interacting with the store. The resulting interface can be used to inspect and modify the state of the store.

Request

STRUCTS

ListItem {:#ListItem}

Defined in fuchsia.stash/stash.fidl

ListItem is returned when a series of keys are being listed.

KeyValue {:#KeyValue}

Defined in fuchsia.stash/stash.fidl

KeyValue is used when a series of keys are being read, or the default state for the store is being set.

ENUMS

ValueType {:#ValueType}

Type: uint8

Defined in fuchsia.stash/stash.fidl

ValueType encodes a type for a field in the store

UNIONS

Value {:#Value}

Defined in fuchsia.stash/stash.fidl

Value holds a value for a given key.

CONSTANTS