Search in sources :

Example 1 with NondeterministicLRUCacheEvictor

use of alluxio.client.file.cache.evictor.NondeterministicLRUCacheEvictor in project alluxio by Alluxio.

the class NondeterministicLRUCacheEvictorTest method before.

/**
 * Sets up the instances.
 */
@Before
public void before() {
    InstancedConfiguration conf = ConfigurationTestUtils.defaults();
    mEvictor = new NondeterministicLRUCacheEvictor(conf);
    mEvictor.setNumOfCandidate(2);
}
Also used : InstancedConfiguration(alluxio.conf.InstancedConfiguration) NondeterministicLRUCacheEvictor(alluxio.client.file.cache.evictor.NondeterministicLRUCacheEvictor) Before(org.junit.Before)

Aggregations

NondeterministicLRUCacheEvictor (alluxio.client.file.cache.evictor.NondeterministicLRUCacheEvictor)1 InstancedConfiguration (alluxio.conf.InstancedConfiguration)1 Before (org.junit.Before)1