org.gcube.opensearch.opensearchdatasource.processor
Class OpenSearchCollectionEnricher

java.lang.Object
  extended by org.gcube.opensearch.opensearchdatasource.processor.OpenSearchCollectionEnricher
All Implemented Interfaces:
java.lang.Runnable

public class OpenSearchCollectionEnricher
extends java.lang.Object
implements java.lang.Runnable


Field Summary
static long TimeoutDef
           
static java.util.concurrent.TimeUnit TimeUnitDef
           
 
Constructor Summary
OpenSearchCollectionEnricher(java.lang.String collection, java.net.URI inLocator)
           
 
Method Summary
 java.net.URI getLocator()
           
 void run()
           
 void setReaderTimeout(long timeout, java.util.concurrent.TimeUnit timeUnit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimeoutDef

public static long TimeoutDef

TimeUnitDef

public static java.util.concurrent.TimeUnit TimeUnitDef
Constructor Detail

OpenSearchCollectionEnricher

public OpenSearchCollectionEnricher(java.lang.String collection,
                                    java.net.URI inLocator)
                             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setReaderTimeout

public void setReaderTimeout(long timeout,
                             java.util.concurrent.TimeUnit timeUnit)

getLocator

public java.net.URI getLocator()
                        throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run()
Specified by:
run in interface java.lang.Runnable