Class TimedUpdateChecker
Object
TimedUpdateChecker
- All Implemented Interfaces:
UpdateChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if there is any change that affects a generated forest fragment.
-
Constructor Details
-
TimedUpdateChecker
public TimedUpdateChecker(long intervalNs)
-
-
Method Details
-
hasUpdate
public boolean hasUpdate()Description copied from interface:UpdateCheckerChecks if there is any change that affects a generated forest fragment.- Specified by:
hasUpdatein interfaceUpdateChecker- Returns:
- true the forest fragment is outdated and Structure has to regenerate the it. false if the fragment is still up to date.
-