Class AvroSchemaStore
A thread-safe, in-memory IAvroSchemaResolver.
public sealed class AvroSchemaStore : IAvroSchemaResolver
- Inheritance
-
AvroSchemaStore
- Implements
- Inherited Members
Constructors
- AvroSchemaStore(params AvroSchema[])
Creates a store holding
schemas.
Methods
- Add(AvroSchema)
Adds a schema; a schema with the same fingerprint is replaced.
- GetSchema(long)
Gets the schema with the given fingerprint if it is already known, or null.
- GetSchemaAsync(long, CancellationToken)
Gets the schema with the given fingerprint, fetching it if needed; null when it does not exist.