Class TimedUpdateChecker

Object
TimedUpdateChecker
All Implemented Interfaces:
UpdateChecker

public class TimedUpdateChecker extends Object implements UpdateChecker
  • Constructor Details

    • TimedUpdateChecker

      public TimedUpdateChecker(long intervalNs)
  • Method Details

    • hasUpdate

      public boolean hasUpdate()
      Description copied from interface: UpdateChecker
      Checks if there is any change that affects a generated forest fragment.
      Specified by:
      hasUpdate in interface UpdateChecker
      Returns:
      true the forest fragment is outdated and Structure has to regenerate the it. false if the fragment is still up to date.