Klasse Lvi.LviWorkerPool

java.lang.Object
org.xbib.interlibrary.api.action.worker.AbstractWorkerPool<org.xbib.elx.api.SearchDocument>
org.xbib.interlibrary.catalog.elasticsearch.lvi.Lvi.LviWorkerPool
Alle implementierten Schnittstellen:
Closeable, AutoCloseable, Iterable<org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument>>, org.xbib.interlibrary.api.action.worker.WorkerPool<org.xbib.elx.api.SearchDocument>
Umschließende Klasse:
Lvi

protected class Lvi.LviWorkerPool extends org.xbib.interlibrary.api.action.worker.AbstractWorkerPool<org.xbib.elx.api.SearchDocument>
  • Feldübersicht

    Von Klasse geerbte Felder org.xbib.interlibrary.api.action.worker.AbstractWorkerPool

    closed
  • Konstruktorübersicht

    Konstruktoren
    Modifizierer
    Konstruktor
    Beschreibung
    protected
    LviWorkerPool(org.xbib.settings.Settings settings)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    afterExecute(org.xbib.interlibrary.api.action.worker.Worker<org.xbib.elx.api.SearchDocument> worker, org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument> request)
     
    protected void
     
    protected void
    closeOutput(int returncode)
     
    Iterator<org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument>>
     
    org.xbib.interlibrary.api.action.worker.Worker<org.xbib.elx.api.SearchDocument>
    newWorker(String name, int count)
     
    org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument>
    newWorkerRequest(Object input, String origin)
     
    void
     
    protected void
     
    protected void
     

    Von Klasse geerbte Methoden org.xbib.interlibrary.api.action.worker.AbstractWorkerPool

    close, getExceptions, getExecutionCounter, getQueue, getReturnCode, setReturnCode, submit

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden java.lang.Iterable

    forEach, spliterator
  • Konstruktordetails

    • LviWorkerPool

      protected LviWorkerPool(org.xbib.settings.Settings settings) throws IOException
      Löst aus:
      IOException
  • Methodendetails

    • openInput

      protected void openInput() throws IOException
      Löst aus:
      IOException
    • openOutput

      protected void openOutput() throws IOException
      Löst aus:
      IOException
    • open

      public void open() throws IOException
      Angegeben von:
      open in Schnittstelle org.xbib.interlibrary.api.action.worker.WorkerPool<org.xbib.elx.api.SearchDocument>
      Setzt außer Kraft:
      open in Klasse org.xbib.interlibrary.api.action.worker.AbstractWorkerPool<org.xbib.elx.api.SearchDocument>
      Löst aus:
      IOException
    • closeInput

      protected void closeInput() throws IOException
      Löst aus:
      IOException
    • closeOutput

      protected void closeOutput(int returncode) throws IOException
      Löst aus:
      IOException
    • newWorker

      public org.xbib.interlibrary.api.action.worker.Worker<org.xbib.elx.api.SearchDocument> newWorker(String name, int count)
    • iterator

      public Iterator<org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument>> iterator()
    • newWorkerRequest

      public org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument> newWorkerRequest(Object input, String origin)
    • afterExecute

      public void afterExecute(org.xbib.interlibrary.api.action.worker.Worker<org.xbib.elx.api.SearchDocument> worker, org.xbib.interlibrary.api.action.worker.WorkerRequest<org.xbib.elx.api.SearchDocument> request)