Examples of performWork()


Examples of org.hibernate.search.backend.impl.lucene.works.LuceneWorkDelegate.performWork()

   * @param work
   */
  public void doWorkInSync(LuceneWork work) {
    checkIsNotClosed();
    LuceneWorkDelegate delegate = work.getWorkDelegate( visitor );
    delegate.performWork( work, workspace.getIndexWriter( true ) );
    delegate.logWorkDone( work , monitor );
    //if the IndexWriter was opened, it's not closed now.
  }

  public void enqueueAsyncWork(LuceneWork work) {
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private <T> void performSearchWorks(Collection<Work<T>> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work<T> work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   private boolean isIndexed(final Class<?> c) {
      final EntityIndexBinding indexBinding = this.searchFactory.getIndexBinding(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private <T> void performSearchWorks(Collection<Work<T>> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work<T> work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   private boolean isIndexed(final Class<?> c) {
      final EntityIndexBinding indexBinding = this.searchFactory.getIndexBinding(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private void performSearchWorks(Collection<Work> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   public boolean isIndexed(final Class<?> c) {
      return searchFactoryHandler.isIndexed(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private <T> void performSearchWorks(Collection<Work<T>> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work<T> work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   public boolean isIndexed(final Class<?> c) {
      final EntityIndexBinding indexBinding = this.searchFactory.getIndexBinding(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private void performSearchWorks(Collection<Work> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   public boolean isIndexed(final Class<?> c) {
      return searchFactoryHandler.isIndexed(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private <T> void performSearchWorks(Collection<Work<T>> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work<T> work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   public boolean isIndexed(final Class<?> c) {
      final EntityIndexBinding indexBinding = this.searchFactory.getIndexBinding(c);
View Full Code Here

Examples of org.hibernate.search.backend.spi.Worker.performWork()

   }

   private void performSearchWorks(Collection<Work> works, TransactionContext transactionContext) {
      Worker worker = searchFactory.getWorker();
      for (Work work : works) {
         worker.performWork(work, transactionContext);
      }
   }

   public boolean isIndexed(final Class<?> c) {
      return searchFactoryHandler.isIndexed(c);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.