Package org.apache.tika.pipes
Class PipesConfig
- java.lang.Object
-
- org.apache.tika.config.ConfigBase
-
- org.apache.tika.pipes.PipesConfigBase
-
- org.apache.tika.pipes.PipesConfig
-
public class PipesConfig extends PipesConfigBase
-
-
Field Summary
-
Fields inherited from class org.apache.tika.pipes.PipesConfigBase
DEFAULT_MAX_FILES_PROCESSED_PER_PROCESS, DEFAULT_MAX_FOR_EMIT_BATCH, DEFAULT_NUM_CLIENTS, DEFAULT_SHUTDOWN_CLIENT_AFTER_MILLS, DEFAULT_STALE_FETCHER_DELAY_SECONDS, DEFAULT_STALE_FETCHER_TIMEOUT_SECONDS, DEFAULT_STARTUP_TIMEOUT_MILLIS, DEFAULT_TIMEOUT_MILLIS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaxWaitForClientMillis()
static PipesConfig
load(InputStream tikaConfigInputStream)
static PipesConfig
load(Path tikaConfig)
void
setMaxWaitForClientMillis(long maxWaitForClientMillis)
-
Methods inherited from class org.apache.tika.pipes.PipesConfigBase
getForkedJvmArgs, getJavaPath, getMaxFilesProcessedPerProcess, getMaxForEmitBatchBytes, getNumClients, getShutdownClientAfterMillis, getSleepOnStartupTimeoutMillis, getStaleFetcherDelaySeconds, getStaleFetcherTimeoutSeconds, getStartupTimeoutMillis, getTikaConfig, getTimeoutMillis, setForkedJvmArgs, setJavaPath, setMaxFilesProcessedPerProcess, setMaxForEmitBatchBytes, setNumClients, setShutdownClientAfterMillis, setSleepOnStartupTimeoutMillis, setStaleFetcherDelaySeconds, setStaleFetcherTimeoutSeconds, setStartupTimeoutMillis, setTikaConfig, setTikaConfig, setTimeoutMillis
-
Methods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
-
-
-
Method Detail
-
load
public static PipesConfig load(Path tikaConfig) throws IOException, TikaConfigException
- Throws:
IOException
TikaConfigException
-
load
public static PipesConfig load(InputStream tikaConfigInputStream) throws IOException, TikaConfigException
- Throws:
IOException
TikaConfigException
-
getMaxWaitForClientMillis
public long getMaxWaitForClientMillis()
-
setMaxWaitForClientMillis
public void setMaxWaitForClientMillis(long maxWaitForClientMillis)
-
-