Class RecoveryFileChunkRequest

    • Constructor Detail

      • RecoveryFileChunkRequest

        public RecoveryFileChunkRequest()
      • RecoveryFileChunkRequest

        public RecoveryFileChunkRequest​(long recoveryId,
                                        ShardId shardId,
                                        StoreFileMetaData metaData,
                                        long position,
                                        BytesReference content,
                                        boolean lastChunk,
                                        int totalTranslogOps,
                                        long sourceThrottleTimeInNanos)
    • Method Detail

      • recoveryId

        public long recoveryId()
      • shardId

        public ShardId shardId()
      • name

        public java.lang.String name()
      • position

        public long position()
      • checksum

        public java.lang.String checksum()
      • length

        public long length()
      • totalTranslogOps

        public int totalTranslogOps()
      • sourceThrottleTimeInNanos

        public long sourceThrottleTimeInNanos()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • lastChunk

        public boolean lastChunk()
        Returns true if this chunk is the last chunk in the stream.