ultramarine/directory.hpp

namespace ultramarine
{
    using actor_id = std::size_t;

    struct round_robin_local_placement_strategy;

    using default_local_placement_strategy = ultramarine::round_robin_local_placement_strategy;
}

Type alias ultramarine::actor_id

using actor_id = std::size_t;

ultramarine::actor are identified internally via an unsigned integer id


Struct ultramarine::round_robin_local_placement_strategy

struct round_robin_local_placement_strategy
{
    seastar::shard_id operator()(std::size_t hash) const noexcept;
};

A round-robin placement strategy that shards actors based on the modulo of their ultramarine::actor::KeyType


Type alias ultramarine::default_local_placement_strategy

using default_local_placement_strategy = ultramarine::round_robin_local_placement_strategy;

Default local placement strategy uses ultramarine::round_robin_local_placement_strategy