m2etis
0.4
|
#include <PartitionFiltersChannel3.h>
Public Member Functions | |
PartitionFiltersChannel3 () | |
Public Member Functions inherited from m2etis::pubsub::partition::BruteForcePartition< EventType > | |
BruteForcePartition () | |
BruteForcePartition (const std::vector< boost::shared_ptr< filter::FilterExp< EventType >> > &partition_filter_vector) | |
virtual | ~BruteForcePartition () |
void | createRendezvousPartition (const typename EventType::Key &) |
creates a base partition for the RP (dynamic) More... | |
std::vector< int > | getTreeNames () |
returns amount of partitions this strategy contains (static & dynamic) More... | |
std::vector< int >::size_type | getPublishTree (const PayloadPtr message, const typename EventType::Key &) |
returns the tree index the given node with the given payload should publish on (static & dynamic) More... | |
std::vector< unsigned int > | getSubscribeTrees (boost::shared_ptr< filter::FilterExp< EventType > > dynamic_filter) |
boost::shared_ptr< filter::FilterExp< EventType > > | getPredicate (size_t id) |
returns the predicate for the given partition id (dynamic) More... | |
bool | createPartition (const typename EventType::Key &) |
can create a new partition for this channel if a new node (root) joins, return true, if a new partition was created, otherwise false (dynamic) More... | |
void | addPartition (boost::shared_ptr< filter::FilterExp< EventType >>, const typename EventType::Key &) |
void | removePartition (size_t) |
removes the partition with the given id (dynamic) More... | |
void | changePredicate (size_t, boost::shared_ptr< filter::FilterExp< EventType >>) |
changes the filter predicate for the partition with the given id (dynamic) More... | |
void | changeRoot (size_t, typename EventType::Key &) |
Public Member Functions inherited from m2etis::pubsub::partition::BasePartition< EventType, EventType > | |
BasePartition () | |
virtual | ~BasePartition () |
virtual std::vector< unsigned int > | getSubscribeTrees (boost::shared_ptr< filter::FilterExp< EventType >> dynamic_filter)=0 |
returns the tree indices of all trees matching the predicate to subscribe on (static & dynamic) More... | |
virtual void | addPartition (boost::shared_ptr< filter::FilterExp< EventType > > predicate, const typename EventType::Key &root)=0 |
adds a new partition to the strategy at nodes not being RP (dynamic) More... | |
virtual std::string | toString () |
Additional Inherited Members | |
Public Types inherited from m2etis::pubsub::partition::BruteForcePartition< EventType > | |
typedef boost::shared_ptr< EventType > | PayloadPtr |
Public Types inherited from m2etis::pubsub::partition::BasePartition< EventType, EventType > | |
typedef boost::shared_ptr< EventType > | PayloadPtr |
Static Public Attributes inherited from m2etis::pubsub::partition::BruteForcePartition< EventType > | |
static const bool | DYNAMIC_PARTITION |
Definition at line 56 of file PartitionFiltersChannel3.h.
|
inline |
Definition at line 58 of file PartitionFiltersChannel3.h.