Package me.aartikov.replica.keyed
Types
Configures in which order KeyedPhysicalReplica clears children when child count exceeds KeyedReplicaSettings.maxCount.
Configures how KeyedPhysicalReplica clears children when child count exceeds KeyedReplicaSettings.maxCount.
Fetches data from a server. Throws exception on error.
Keyed replica replicates multiple chunks of data - different chunks for different keys. Internally it uses PhysicalReplica for individual data chunks.
Keyed replica replicates multiple chunks of data - different chunks for different keys.
Notifies that something happened in KeyedPhysicalReplica.
Configures behaviour of a keyed replica.
State of KeyedPhysicalReplica.
Allows KeyedPhysicalReplica to save data on a persistent storage.
Functions
Cancels network requests in child replicas with the matching tags.
Cancels network requests and clears data in child replicas with the matching tags.
Makes all child replicas stale.
Makes child replicas with the matching tags stale.
Modifies KeyedReplica so its observer keeps a data from a previous key until a data for a new key will not be loaded. It allows to dramatically improve UX when KeyedReplica is observed by changing keys.
Properties
Returns current KeyedReplicaState.