public static class SchemaStore.Cache extends Object implements SchemaStore
This class is thread-safe.
SchemaStore.Cache| Constructor and Description | 
|---|
| Cache() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addSchema(Schema schema)Adds a schema to this cache that can be retrieved using its AVRO-CRC-64
 fingerprint. | 
| Schema | findByFingerprint(long fingerprint)Retrieves a fingerprint by its AVRO-CRC-64 fingerprint. | 
public void addSchema(Schema schema)
schema - a Schemapublic Schema findByFingerprint(long fingerprint)
SchemaStorefindByFingerprint in interface SchemaStorefingerprint - an AVRO-CRC-64 fingerprint longCopyright © 2009–2020 The Apache Software Foundation. All rights reserved.