synapse-product/synapse/replication/slave/storage
Richard van der Hoff aa07c37cf0
Move and rename get_devices_with_keys_by_user (#8204)
* Move `get_devices_with_keys_by_user` to `EndToEndKeyWorkerStore`

this seems a better fit for it.

This commit simply moves the existing code: no other changes at all.

* Rename `get_devices_with_keys_by_user`

to better reflect what it does.

* get_device_stream_token abstract method

To avoid referencing fields which are declared in the derived classes, make
`get_device_stream_token` abstract, and define that in the classes which define
`_device_list_id_gen`.
2020-09-01 12:41:21 +01:00
..
__init__.py Add a slaved events store class 2016-04-06 14:18:35 +01:00
_base.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
_slaved_id_tracker.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
account_data.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
appservice.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
client_ips.py Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
deviceinbox.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
devices.py Move and rename get_devices_with_keys_by_user (#8204) 2020-09-01 12:41:21 +01:00
directory.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
filtering.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
groups.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
keys.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
presence.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
profile.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
push_rule.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
pushers.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
receipts.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
registration.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
room.py Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#8171) 2020-08-26 13:15:20 +01:00
transactions.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00