A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::nodes Namespace Reference

Namespaces

namespace  internal
 

Classes

class  AsyncNode
 An asynchronous, ordered stream of chunks read from and written to A11. More...
 
struct  FinalizeOptions
 How an AsyncNode::Finalize() call ends the stream. More...
 
class  NodeMap
 A thread-safe registry of AsyncNodes keyed by id. More...
 

Typedefs

using StorageResolver = std::function< absl::StatusOr< std::shared_ptr< NodeMap > >(data::StorageIdentity)>
 
using ChunkStoreFactory = std::function< absl::StatusOr< std::shared_ptr< stores::ChunkStore > >(std::string node_id)>
 Callable invoked to construct the backing chunk store for a new node from its id.
 

Enumerations

enum class  ReferenceStoragePolicy { kAuto , kInclude , kOmit }
 

Typedef Documentation

◆ ChunkStoreFactory

using a11::nodes::ChunkStoreFactory = typedef std::function<absl::StatusOr<std::shared_ptr<stores::ChunkStore> >( std::string node_id)>

Callable invoked to construct the backing chunk store for a new node from its id.

◆ StorageResolver

using a11::nodes::StorageResolver = typedef std::function<absl::StatusOr<std::shared_ptr<NodeMap> >( data::StorageIdentity)>

Enumeration Type Documentation

◆ ReferenceStoragePolicy

Enumerator
kAuto 
kInclude 
kOmit