Package org.lilyproject.repository.api

Examples of org.lilyproject.repository.api.RecordTypeExistsException


            checkConcurrency(recordType.getName(), nameBytes, now);

            // FIXME: is this a reliable check? Cache might be out of date in case changes happen on other nodes?
            if (getRecordTypeFromCache(recordType.getName(), recordType.getVersion()) != null) {
                clearConcurrency(nameBytes, now);
                throw new RecordTypeExistsException(recordType);
            }

            Collection<FieldTypeEntry> fieldTypeEntries = recordType.getFieldTypeEntries();
            for (FieldTypeEntry fieldTypeEntry : fieldTypeEntries) {
                putFieldTypeEntry(recordTypeVersion, put, fieldTypeEntry);
View Full Code Here

TOP

Related Classes of org.lilyproject.repository.api.RecordTypeExistsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.