package generell; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; public class CacheDeleterStart { /** Cache Deleter */ private static CacheDeleter cacheDeleter; private static CacheManager cacheManager; private static HashMap> cache; private static DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub cache = cacheManager.getCache(); cacheDeleter.cleanCache(cache); //get current date time with Date() Date date = new Date(); System.out.println(dateFormat.format(date) + ") Last Cache Deleter Run complete."); } }