Class SharedServerResources

java.lang.Object
org.apache.tika.pipes.core.server.SharedServerResources
All Implemented Interfaces:
Closeable, AutoCloseable

public class SharedServerResources extends Object implements Closeable
Holds shared resources for a shared PipesServer.

These resources are thread-safe and shared among all ConnectionHandlers:

  • AutoDetectParser, Detector - immutable after initialization
  • FetcherManager, EmitterManager - use ConcurrentHashMap internally
  • MetadataFilter, ContentHandlerFactory - stateless