public void flush() { prepared = false; super.flush(); prepareReasoner(); }
@Override public void flush() { prepared = false; super.flush(); prepareReasoner(); }
@Override public void flush() { prepared = false; super.flush(); prepareReasoner(); }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner then the changes will be stored * in a buffer. If the reasoner is a non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * @param changes The list of raw changes. */ private void handleRawOntologyChanges(List<? extends OWLOntologyChange> changes) { rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if(bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner * then the changes will be stored in a buffer. If the reasoner is a * non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * * @param changes The list of raw changes. */ protected synchronized void handleRawOntologyChanges( List<? extends OWLOntologyChange> changes) { rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if (bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner * then the changes will be stored in a buffer. If the reasoner is a * non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * * @param changes The list of raw changes. */ protected synchronized void handleRawOntologyChanges( List<? extends OWLOntologyChange> changes) { rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if (bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner * then the changes will be stored in a buffer. If the reasoner is a * non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * * @param changes The list of raw changes. */ protected synchronized void handleRawOntologyChanges( List<? extends OWLOntologyChange> changes) { rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if (bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner * then the changes will be stored in a buffer. If the reasoner is a * non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * * @param changes The list of raw changes. */ protected synchronized void handleRawOntologyChanges( List<? extends OWLOntologyChange> changes) { rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if (bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
/** * Handles raw ontology changes. If the reasoner is a buffering reasoner * then the changes will be stored in a buffer. If the reasoner is a * non-buffering reasoner then the changes will be automatically flushed * through to the change filter and passed on to the reasoner. * * @param changes * The list of raw changes. */ private synchronized void handleRawOntologyChanges( List<? extends OWLOntologyChange> changes) { if (log) { System.out.println(Thread.currentThread().getName() + " OWLReasonerBase.handleRawOntologyChanges() " + changes); } rawChanges.addAll(changes); // We auto-flush the changes if the reasoner is non-buffering if (bufferingMode.equals(BufferingMode.NON_BUFFERING)) { flush(); } }
@Override public void flush() { super.flush(); try { reasoner = factory.createReasoner(configurationManager.buildOntopSQLOWLAPIConfiguration(getRootOntology())); } catch (OWLOntologyCreationException e) { e.printStackTrace(); } }