NoCacheCachingPolicy$.java 1.06 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.scene7.is.sleng.CacheAction
 *  com.scene7.is.sleng.CacheEnum
 */
package com.scene7.is.ps.provider.util;

import com.scene7.is.ps.provider.util.CachingPolicy;
import com.scene7.is.sleng.CacheAction;
import com.scene7.is.sleng.CacheEnum;

public final class NoCacheCachingPolicy$
implements CachingPolicy {
    public static final NoCacheCachingPolicy$ MODULE$;

    public static {
        new com.scene7.is.ps.provider.util.NoCacheCachingPolicy$();
    }

    @Override
    public CacheEnum getCacheSetting() {
        return CacheEnum.OFF;
    }

    @Override
    public CacheAction getCacheMissAction() {
        return CacheAction.IGNORE;
    }

    @Override
    public CacheAction getCacheHitAction(long cacheTimeStamp) {
        return CacheAction.IGNORE;
    }

    @Override
    public long getValidationTime() {
        return 0;
    }

    @Override
    public boolean cacheEnabled() {
        return false;
    }

    private NoCacheCachingPolicy$() {
        MODULE$ = this;
    }
}