SeedObject - Object that determines the instanceInstance - Instance that will be created from SeedObject.public abstract class InstanceCache<SeedObject,Instance>
extends java.lang.Object
| Constructor and Description |
|---|
InstanceCache() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Instance |
makeInstance(SeedObject hv) |
Instance |
retrieve(SeedObject hv)
Retrieve (or create if it doesn't exist) the correct Instance for this
SeedObject
|
public Instance retrieve(SeedObject hv) throws AvroSerdeException
AvroSerdeExceptionprotected abstract Instance makeInstance(SeedObject hv) throws AvroSerdeException
AvroSerdeExceptionCopyright © 2012 The Apache Software Foundation