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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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>> iterator()
org.xbib.interlibrary.api.action.worker.Worker
<org.xbib.elx.api.SearchDocument> org.xbib.interlibrary.api.action.worker.WorkerRequest
<org.xbib.elx.api.SearchDocument> newWorkerRequest
(Object input, String origin) void
open()
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
- Löst aus:
IOException
-
-
Methodendetails
-
openInput
- Löst aus:
IOException
-
openOutput
- Löst aus:
IOException
-
open
- Angegeben von:
open
in Schnittstelleorg.xbib.interlibrary.api.action.worker.WorkerPool<org.xbib.elx.api.SearchDocument>
- Setzt außer Kraft:
open
in Klasseorg.xbib.interlibrary.api.action.worker.AbstractWorkerPool<org.xbib.elx.api.SearchDocument>
- Löst aus:
IOException
-
closeInput
- Löst aus:
IOException
-
closeOutput
- 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
-
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)
-