Interface SpeculativeRetryPolicy

    • Method Detail

      • calculateThreshold

        long calculateThreshold​(SnapshottingTimer latency,
                                long existingValue)
        Calculate the delay in microseconds after which speculation takes place
        Parameters:
        latency - snapshot of coordinator latencies (in microseconds)
        existingValue - existing speculation threshold (in microseconds)
        Returns:
        speculation delay (in microseconds).