public class GCPolicy extends Object
ResultSet
should be reclaimed based on its properties| Constructor and Description |
|---|
GCPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
reclaim(File file)
Desides wheteher a single file shoulf be replaced based on its last modification time
|
static boolean |
reclaim(GCProperties props)
Desides whether a
ResultSet
should be reclaimed based on its properties |
public static boolean reclaim(GCProperties props)
ResultSet
should be reclaimed based on its propertiesprops - The properties of the ResultSettrue if the resources must be reclaimed, false otherwisepublic static boolean reclaim(File file)
file - The file to checktrue if the resource must be reclaimed, false otherwiseCopyright © 2019. All Rights Reserved.