Fastly Compute C++ SDK
Loading...
Searching...
No Matches
core.h File Reference
#include <chrono>
#include <cstdint>
#include <fastly/expected.h>
#include <fastly/http/body.h>
#include <fastly/http/header.h>
#include <fastly/http/request.h>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

class  fastly::cache::core::CacheError
 Errors that can arise during cache operations. More...
class  fastly::cache::core::detail::CacheHandle
class  fastly::cache::core::detail::CacheReplaceHandle
class  fastly::cache::core::detail::CacheBusyHandle
class  fastly::cache::core::detail::RequestHandle
struct  fastly::cache::core::LookupOptions
 Options for cache lookup operations. More...
struct  fastly::cache::core::ReplaceOptions
 Options for cache replace operations. More...
struct  fastly::cache::core::WriteOptions
 Options for cache write operations (insert/update). More...
class  fastly::cache::core::TransactionUpdateBuilder
class  fastly::cache::core::TransactionInsertBuilder
class  fastly::cache::core::PendingTransaction
class  fastly::cache::core::TransactionLookupBuilder
 A builder-style API for configuring a transactional cache lookup. More...
class  fastly::cache::core::Found
class  fastly::cache::core::Transaction
class  fastly::cache::core::LookupBuilder
class  fastly::cache::core::InsertBuilder
class  fastly::cache::core::ReplaceBuilder
 A builder-style API for configuring a non-transactional cache replacement. More...
class  fastly::cache::core::Replace

Namespaces

namespace  fastly
namespace  fastly::cache
namespace  fastly::cache::core
namespace  fastly::cache::core::detail

Enumerations

enum class  fastly::cache::core::ReplaceStrategy { fastly::cache::core::Immediate , fastly::cache::core::ImmediateForceMiss , fastly::cache::core::Wait }
 Strategy to use when replacing an existing cached object. More...

Functions

LookupBuilder fastly::cache::core::lookup (std::span< const std::uint8_t > key)
LookupBuilder fastly::cache::core::lookup (std::string_view key)
 Non-transactional cache lookup with string key.
InsertBuilder fastly::cache::core::insert (std::span< const std::uint8_t > key, std::chrono::nanoseconds max_age)
InsertBuilder fastly::cache::core::insert (std::string_view key, std::chrono::nanoseconds max_age)
 Non-transactional cache insert with string key.
ReplaceBuilder fastly::cache::core::replace (std::span< const std::uint8_t > key)
ReplaceBuilder fastly::cache::core::replace (std::string_view key)
 Non-transactional cache replace with string key.