Class BatchlogManager

    • Field Detail

      • BATCHLOG_REPLAY_TIMEOUT

        public static final long BATCHLOG_REPLAY_TIMEOUT
    • Constructor Detail

      • BatchlogManager

        public BatchlogManager()
    • Method Detail

      • start

        public void start()
      • shutdownAndWait

        public void shutdownAndWait​(long timeout,
                                    java.util.concurrent.TimeUnit unit)
                             throws java.lang.InterruptedException,
                                    java.util.concurrent.TimeoutException
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.TimeoutException
      • remove

        public static void remove​(TimeUUID id)
      • store

        public static void store​(Batch batch)
      • store

        public static void store​(Batch batch,
                                 boolean durableWrites)
      • startBatchlogReplay

        public Future<?> startBatchlogReplay()
      • setRate

        public void setRate​(int throttleInKB)
        Sets the rate for the current rate limiter. When throttleInKB is 0, this sets the rate to Double.MAX_VALUE bytes per second.
        Parameters:
        throttleInKB - throughput to set in KiB per second
      • getBatchlogTimeout

        public static long getBatchlogTimeout()