All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloud.eppo.cache.NonExpiringInMemoryAssignmentCache Maven / Gradle / Ivy

There is a newer version: 3.3.2
Show newest version
package cloud.eppo.cache;

import cloud.eppo.api.AbstractAssignmentCache;
import java.util.concurrent.ConcurrentHashMap;

/**
 * A cache that never expires.
 *
 * 

The primary use case is for client-side SDKs, where the cache is only used for a single user * and won't grow out of control. */ public class NonExpiringInMemoryAssignmentCache extends AbstractAssignmentCache { public NonExpiringInMemoryAssignmentCache() { super(new ConcurrentHashMap<>()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy