Class FileSystemTransactionHistoryPublisher

    • Constructor Detail

      • FileSystemTransactionHistoryPublisher

        public FileSystemTransactionHistoryPublisher()
    • Method Detail

      • getFileSystemDir

        public String getFileSystemDir()
        Get file system directory where transaction history is stored.
        Returns:
        the fileSystemDir
      • setFileSystemDir

        public void setFileSystemDir​(String fileSystemDir)
        Set file system directory where transaction history is stored.
        Parameters:
        fileSystemDir - file system directory where transaction history is stored.
      • publish

        protected void publish​(String fileName,
                               byte[] data)
        Publish transaction history data with the given file name.
        Parameters:
        fileName - file name.
        data - transaction history data as byte array.
        See Also:
        AbstractTransactionHistoryPublisher.publish(String, byte[])
      • getFetchLimit

        public int getFetchLimit()
        Return the fetch limit to limit the maximum number of published records.
        Specified by:
        getFetchLimit in interface ITransactionHistoryPublisher
        Returns:
        the fetch limit to limit the maximum number of published records
      • setFetchLimit

        public void setFetchLimit​(int fetchLimit)
        Set the fetch limit to limit the maximum number of published records.
        Parameters:
        fetchLimit - the fetch limit to limit the maximum number of published records
      • getFormat

        public String getFormat()
        Set format.
        Returns:
        the format
      • setFormat

        public void setFormat​(String format)
        Return the format.
        Parameters:
        format - the format to set
      • getGzipCompress

        public Boolean getGzipCompress()
        Return gzipCompress
        Returns:
        the gzipCompress
      • setGzipCompress

        public void setGzipCompress​(Boolean gzipCompress)
        Set gzipCompress
        Parameters:
        gzipCompress - the gzipCompress
      • getFileFormat

        public String getFileFormat()
        Set fileFormat.
        Returns:
        the fileFormat
      • setFileFormat

        public void setFileFormat​(String fileFormat)
        Return the file format.
        Parameters:
        fileFormat - the fileFormat to set