Seastar
High performance C++ framework for concurrent servers
Public Member Functions | List of all members
seastar::peering_sharded_service< Service > Class Template Reference

Detailed Description

template<typename Service>
class seastar::peering_sharded_service< Service >

Provide a sharded service with access to its peers.

If a service class inherits from this, it will gain a

container()

method that provides access to the sharded object, with which it can call its peers.

#include <seastar/core/sharded.hh>

Public Member Functions

 peering_sharded_service (peering_sharded_service< Service > &&) noexcept=default
 
 peering_sharded_service (const peering_sharded_service< Service > &)=delete
 
peering_sharded_serviceoperator= (const peering_sharded_service< Service > &)=delete
 
sharded< Service > & container () noexcept
 
const sharded< Service > & container () const noexcept
 

The documentation for this class was generated from the following file: