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

com.googlecode.fascinator.redbox.CacheEntry Maven / Gradle / Ivy

There is a newer version: 1.10.1
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.fascinator.redbox;

/**
 *
 * @author lucido
 */
public class CacheEntry {

    private boolean allowed;
    private long lastUpdated;

    public CacheEntry() {
        setLastUpdated(System.currentTimeMillis());
    }

    public boolean isAllowed() {
        return allowed;
    }

    public void setAllowed(boolean allowed) {
        this.allowed = allowed;
    }

    public long getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(long lastUpdated) {
        this.lastUpdated = lastUpdated;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy