Class ConcurrentScannerMessagePublisher

  • All Implemented Interfaces:
    DocumentPublisher, SecurityFeeder

    public class ConcurrentScannerMessagePublisher
    extends java.lang.Object
    implements DocumentPublisher
    Synchronizes feeding and content store access to make it suitable for concurrent scanners
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bulkUpdate​(BulkUpdate bulkUpdateMessage)
      Issue a bulk update.
      void delete​(java.lang.String... docIds)
      Delete a list of documents.
      void delete​(java.lang.String queryWorkflow, Query query)
      Delete all documents that match a query.
      void deletePrincipal​(AttivioPrincipalKey key)
      Deletes a principal from the index.
      void feed​(IngestDocument... doc)
      Feed one of more documents to Attivio.
      void feed​(IngestDocument doc, AttivioAcl acl)
      Sends doc to the document receiver with the given ACL.
      void feed​(AttivioPrincipal principal)
      Ingests an AttivioPrincipal.
      java.util.UUID getClientId()  
      boolean isInTestMode()
      Test mode is set by the user to quickly test that scanner can connect and fetch data.
      boolean isStopped()  
      void put​(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is)
      Store the content stream in the content store an put a ContentPointer in the indicated document field.
      boolean waitForCompletion​(long timeoutMillis)
      Wait the specified number of milliseconds for all the documents to be processed.
      • Methods inherited from class java.lang.Object

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