示例#1
0
 @Override
 public void checkReference(
     DynamicRecord block,
     AbstractBaseRecord record,
     ConsistencyReport.DynamicConsistencyReport report,
     RecordAccess records) {
   if (record instanceof PropertyRecord) {
     report.nextMultipleOwners((PropertyRecord) record);
   } else if (record instanceof DynamicRecord) {
     report.nextMultipleOwners((DynamicRecord) record);
   } else if (record instanceof RelationshipTypeTokenRecord) {
     report.nextMultipleOwners((RelationshipTypeTokenRecord) record);
   } else if (record instanceof PropertyKeyTokenRecord) {
     report.nextMultipleOwners((PropertyKeyTokenRecord) record);
   }
 }
示例#2
0
 @Override
 public void checkReference(
     DynamicRecord record,
     AbstractBaseRecord ignored,
     ConsistencyReport.DynamicConsistencyReport report,
     RecordAccess records) {
   report.orphanDynamicRecord();
 }