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

dev.voidframework.cache.engine.BlackHoleCacheEngine Maven / Gradle / Ivy

package dev.voidframework.cache.engine;

import dev.voidframework.core.bindable.BindClass;

/**
 * Black Hole (do nothing) cache implementation.
 */
@BindClass
public final class BlackHoleCacheEngine implements CacheEngine {

    @Override
    public Object get(final String cacheKey) {

        return null;
    }

    @Override
    public void set(final String cacheKey, final Object value, final int timeToLive) {
    }

    @Override
    public void remove(final String cacheKey) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy