Class Progress

java.lang.Object
net.pl3x.map.core.renderer.progress.Progress
All Implemented Interfaces:
Runnable

public class Progress extends Object implements Runnable
  • Constructor Details

    • Progress

      public Progress()
  • Method Details

    • start

      public void start(long delay)
    • stop

      public void stop()
    • finish

      public void finish()
    • getWorld

      @Nullable public @Nullable World getWorld()
    • setWorld

      public void setWorld(@Nullable @Nullable World world)
    • getTotalChunks

      public long getTotalChunks()
    • setTotalChunks

      public void setTotalChunks(long totalChunks)
    • getTotalRegions

      public long getTotalRegions()
    • setTotalRegions

      public void setTotalRegions(long totalRegions)
    • increment

      public void increment()
    • getPercent

      public float getPercent()
    • getCPS

      public double getCPS()
    • getETA

      @NotNull public @NotNull String getETA()
    • getProcessedChunks

      @NotNull public @NotNull AtomicLong getProcessedChunks()
    • setProcessedChunks

      public void setProcessedChunks(long processedChunks)
    • getProcessedRegions

      @NotNull public @NotNull AtomicLong getProcessedRegions()
    • setProcessedRegions

      public void setProcessedRegions(long processedRegions)
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • formatMilliseconds

      @NotNull public static @NotNull String formatMilliseconds(long time)