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

com.danidemi.jlubricant.logback.Cache Maven / Gradle / Ivy

package com.danidemi.jlubricant.logback;

public interface Cache {

	void cacheEvict(long maxAgeInMillis);

	void put(String message, long timestamp);

	Long timestampOfLastOccurence(String message);

	/** Number of log events in the cache. */
	int itemsInCache();

	/**
	 * Empty the cache.
	 */
	void clear();

	void setMaxSize(int maxSize);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy