Interface DocumentDestination<T>

Type Parameters:
T - document type
All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
NullDocumentDestination

public interface DocumentDestination<T> extends AutoCloseable
A configured document channel which represents a session to the channel
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close this channel
    Fetch channel to write to
  • Method Details

    • getDocumentChannel

      DocumentChannel<T> getDocumentChannel()
      Fetch channel to write to
      Returns:
      the channel to write to
    • close

      void close()
      Close this channel
      Specified by:
      close in interface AutoCloseable