Skip to main content

Crate hydracache_client_protocol

Crate hydracache_client_protocol 

Source
Expand description

Stable external client protocol primitives.

Release 0.49 starts the external-consumer surface by reserving a small, deterministic frame contract and golden fixtures. W1 expands the payload schema; W0 keeps the compatibility substrate intentionally narrow.

Modules§

hibernate
Hibernate second-level cache contract types for external JVM providers.
java_migration
Java/Spring migration contract for legacy Hazelcast consumers.

Structs§

BatchItemStatus
Per-item batch status.
BatchPutEntry
One batch put entry.
ClientContext
Optional context carried by every request.
ClientErrorEnvelope
Stable error envelope.
ClientFrame
A length-prefixed external client frame.
ClientRequestEnvelope
Client request envelope.
ClientResponseEnvelope
Client response envelope.
InvalidationEvent
Invalidation event streamed to remote near-caches.
Namespace
Namespace carried on the wire.
RegionId
Region id carried on the wire.
StructuredKey
Structured cache key made of reviewable segments.
SubscriptionWatermarkTracker
Region-scoped subscription state.
VersionHandshake
Negotiated protocol support window.
Watermark
Watermark used by remote near-cache repair.

Enums§

ClientErrorCode
Stable client error codes.
ClientProtocolError
External client protocol decode/encode errors.
ClientRequest
Client operations.
ClientResponse
Client responses.
ClientWireMessage
Wire messages carried inside ClientFrame payloads.
ReadConsistency
Remote read consistency labels.
RepairAction
Repair action selected for remote near-cache streams.
WriteConsistency
Remote write consistency labels.

Constants§

LENGTH_PREFIX_BYTES
Bytes used by the unsigned length prefix.
MIN_FRAME_BYTES
Smallest complete frame: length prefix plus version.
PROTOCOL_VERSION
First supported external client protocol version.
VERSION_BYTES
Bytes used by the protocol-version field inside the frame body.