Class ReplicationAPIBase.DirectoryFileStream

    • Field Detail

      • fos

        protected org.apache.solr.common.util.FastOutputStream fos
      • indexGen

        protected Long indexGen
      • fileName

        protected String fileName
      • cfileName

        protected String cfileName
      • tlogFileName

        protected String tlogFileName
      • sOffset

        protected String sOffset
      • compress

        protected final boolean compress
      • useChecksum

        protected boolean useChecksum
      • offset

        protected long offset
      • len

        protected int len
    • Constructor Detail

      • DirectoryFileStream

        public DirectoryFileStream​(String file,
                                   String dirType,
                                   String offset,
                                   String len,
                                   boolean compression,
                                   boolean useChecksum,
                                   double maxWriteMBPerSec,
                                   Long gen)
    • Method Detail

      • validateFilenameOrError

        protected String validateFilenameOrError​(String fileName)
      • createOutputStream

        protected void createOutputStream​(OutputStream out)
      • extendReserveAndReleaseCommitPoint

        protected void extendReserveAndReleaseCommitPoint()
      • writeNothingAndFlush

        protected void writeNothingAndFlush()
                                     throws IOException
        Used to write a marker for EOF
        Throws:
        IOException