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

com.oath.micro.server.manifest.ManifestComparator Maven / Gradle / Ivy

package com.oath.micro.server.manifest;

public interface ManifestComparator {
    public  ManifestComparator withKey(String key);

    public boolean isOutOfDate();

    public boolean load();

    public void cleanAll();

    public void clean(int numberToClean);

    public void saveAndIncrement(T data);

    /**
     * Gets data from ManifestComparator, blocks until it has been initialized
     * 
     * @return Initialized data from ManifestComparator
     */
    public T getData();

    /**
     * Gets data from ManifestComparator, returns null if unitialized
     * 
     * @return Current Data
     */
    public T getCurrentData();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy