com.comcast.xfinity.sirius.api.impl.bridge
the sequence number to start with
reference to the subsystem encapsulating system state. In the future as the code settles down we may want to have this directly point to the persistence layer, but for now we funnel everything through the state subsystem supervisor for abstraction, such that we can easily refactor and not worry about messing stuff up.
reference to the Sirius Supervisor Actor for routing DecisionHints to the Paxos Subsystem
Monitoring hooks
If sirius is configured to do such, register mbean as an MBean
If sirius is configured to do such, register mbean as an MBean
The object name derived for this object is kept locally on this instance, and will be unregistered when unregisterMonitors is called.
A call-by-name parameter to get the mbean to register, if sirisConfiguration is not configured with an MBeanFactory, then this is not used, and thus not called
Sirius's configuration, from which it is decided if mbean should be registered as an MBean
the ActorContext this is run from, note it is necessary that this is run within an Actor for this to be available
Unregister all MBeans registered by this instance
Unregister all MBeans registered by this instance
Sirius's configuration, from which it is decided if mbean should be registered as an MBean
Actor responsible for bridging the gap between the Paxos layer and the persistence layer.
This Actor contains the necessary logic for assuring that events are only applied to the persistence layer in order. As designed currently (on purpose) the Paxos system will blindly deliver decisions, even if they have already been decided. This allows nodes that are behind to catch up. Also, there is no guarantee that events will arrive in order, so a later event may arrive before a current event.
To accomplish this we buffer events that come before their time, only keeping the first copy of each.
XXX: in its current form it does not wait for confirmation that an event has been committed to disk by the persistence layer, we should really add that, but for now this should be good enough.