System.out.println(new Date()+" Done. Cachesize is now "+oursize+" bytes.");
if(oursize>high) System.out.println(new Date()+" WARNING: Another rescan cache needed to finish GC.\nIf this happens frequently increase gcarraysize in gc.cnf.\ngcarraysize is now set to "+gcarray.length+", good practice is add 20% to it.");
}
private final void fake_delete_files()
{
int bot=(int)( (float)cachesize*(float)lowmark/100f);
int high=(int)( (float)cachesize*(float)highmark/100f);
if(oursize<bot)
{
System.out.println(new Date()+" [FAKE] Cache size is OK - No further cleaning needed");
return;
}
System.out.println(new Date()+" [FAKE] Not Cleaning files....");