}
cache = CacheBuilder.newBuilder().build(new CacheLoader<SchemaHash, Schema>() {
@Override
public Schema load(SchemaHash key) throws Exception {
Schema schema = schemaMap.get(key);
Preconditions.checkNotNull(schema);
// TODO: Load from classloader
return schema;
}
}