Skip to content

Commit

Permalink
Mark Cache Sampler Experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Oct 29, 2024
1 parent 710bbc3 commit 4165224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
import com.dfsek.terra.addons.noise.samplers.LinearHeightmapSampler;
import com.dfsek.terra.api.noise.NoiseSampler;

import org.jetbrains.annotations.ApiStatus.Experimental;


@Experimental
public class CacheSamplerTemplate extends SamplerTemplate<CacheSampler> {
@Value("sampler")
@Default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.LoadingCache;
import com.github.benmanes.caffeine.cache.Scheduler;
import org.jetbrains.annotations.ApiStatus.Experimental;

import static com.dfsek.terra.api.util.cache.CacheUtils.CACHE_EXECUTOR;


@Experimental
public class CacheSampler implements NoiseSampler {

private final NoiseSampler sampler;
Expand Down

0 comments on commit 4165224

Please sign in to comment.