CommitSynchronizerInfo¶
- class dsviper.CommitSynchronizerInfo¶
Bases:
objectWhat a synchronization found.
Whether anything needs transmitting, what was fetched and pushed, and whether the definitions changed.
Note: Not directly instantiable.
- fetch() CommitSynchronizerInfoTransmit¶
Return information for fetched resources.
- need_transmit() bool¶
Return True if either side’s data_version() moved since the last sync.
When neither did, sync() compared and carried nothing. data_version() counts the writes made through other connections, so a commit written through a connection the synchronizer holds waits until another connection writes: give the synchronizer connections of its own.
- push() CommitSynchronizerInfoTransmit¶
Return information for pushed resources.
- updated_definitions() bool¶
Return True if the definitions has updated.