Interface ContentStoreClient

  • All Known Implementing Classes:
    LazyContentStoreClient, MockContentStoreClient

    @Deprecated
    public interface ContentStoreClient
    Client for accessing a storage service. The client can be used to send / receiver large data structures such as files or byte arrays that can be accessed via streams. The ContentPointer streams stored via the client can then be accessed by id from other code without having to load the entire stream into memory.

    Generally speaking the ContentStoreClient is used via the helper methods on the IngestClient interface.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_NAMESPACE
      Deprecated.
       
      static java.lang.String GET_EXTERNAL_URI
      Deprecated.
      Used for control channel in HA/FT solutions.
      static java.lang.String OK_STORE_RESPONSE
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.String id)
      Deprecated.
      True if the content store has a stream for this id.
      void delete​(java.lang.String id)
      Deprecated.
      Delete a record by id from the content store.
      void deleteAll()
      Deprecated.
      Delete all content in the content store.
      long getTotalRecords()
      Deprecated.
      Get the total number of records in the content store.
      ContentPointer retrieve​(java.lang.String id)
      Deprecated.
      Retrieve a ContentPointer in the ContentStore.
      void setNamespace​(java.lang.String namespace)
      Deprecated.
      Sets the namespace all ids will be stored in.
      ContentPointer store​(java.lang.String id, InputStreamBuilder input)
      Deprecated.
      Store a ContentPointer in the ContentStore.
    • Field Detail

      • GET_EXTERNAL_URI

        static final java.lang.String GET_EXTERNAL_URI
        Deprecated.
        Used for control channel in HA/FT solutions.
        See Also:
        Constant Field Values
      • OK_STORE_RESPONSE

        static final java.lang.String OK_STORE_RESPONSE
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_NAMESPACE

        static final java.lang.String DEFAULT_NAMESPACE
        Deprecated.
        See Also:
        Constant Field Values