fast_cache/replication/
mod.rs1mod backlog;
8mod batcher;
9mod embedded;
10mod metrics;
11mod protocol;
12mod transport;
13
14pub(super) type ReplicationFrameBytes = bytes::Bytes;
19
20pub use backlog::{BacklogCatchUp, ReplicationBacklog};
21pub(crate) use batcher::ReplicationBatchBuilder;
22pub use batcher::ReplicationPrimary;
23pub use embedded::{ReplicatedEmbeddedStore, ReplicationReplica};
24pub use metrics::{ReplicationMetrics, ReplicationMetricsSnapshot};
25pub use protocol::{
26 BorrowedReplicationMutation, FCRP_MAGIC, FCRP_VERSION, FrameKind, HelloRole,
27 ReplicationCompressionMode, ReplicationFrame, ReplicationFramePayload, ReplicationHello,
28 ReplicationMutation, ReplicationSnapshot, ReplicationSnapshotChunk, ShardWatermarks,
29 decode_ack, decode_error, decode_frame, decode_frame_payload, decode_hello,
30 decode_mutation_batch, decode_snapshot_chunk, encode_ack, encode_error, encode_frame,
31 encode_hello, encode_mutation_batch, encode_snapshot_chunk, visit_mutation_batch_payload,
32};
33pub use transport::{ReplicationPrimaryServer, ReplicationReplicaClient, SnapshotProvider};