* @return the single copy of schema in cache
*/
private SchemaImpl ref(SchemaImpl schema) {
SchemaImpl esh = null;
if (schema != null) {
DBObjectId id = schema.getId();
SchemaRefCounter ref = schemaCache.get(id);
if (ref == null) {
try {
Collection<AttributeDefinition<?>> defCopies = ref1(0, schema.getAttributeDefinitions());
Collection<SeriesDefinition> ssCopies = ref2(schema.getSeriesDefinitions());