|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.cache.CacheFileSystemHelpers
Field Summary | |
---|---|
static String |
copyright
|
Method Summary | |
---|---|
protected static void |
assertCacheSize(File rootCacheDir)
Ensure the cache size is less than the user specified maximum size |
static boolean |
clearCache(Shell shell,
File cacheLocation,
boolean confirmationRequired)
Clear the remote systems cache. |
static long |
getCacheSize(File file)
Calculates the total size of the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Method Detail |
public static boolean clearCache(Shell shell, File cacheLocation, boolean confirmationRequired)
confirmationRequired
- If true, the user is first prompted if they
really wish to clear the cache. Otherwise, the cache is cleared without any
user intervention.
public static long getCacheSize(File file)
file
- The root directory for the cache.
protected static void assertCacheSize(File rootCacheDir)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |