|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.CacheStrategy
public final class CacheStrategy
An enumerated type to deal with the various cache strategies.
Field Summary | |
---|---|
static CacheStrategy |
MANUAL
Deal with cached data manually. |
static CacheStrategy |
ON_CALL
Refresh the data every time you call a method on the fileObject. |
static CacheStrategy |
ON_RESOLVE
Refresh the data every time you request a file from FileSystemManager.resolveFile(java.lang.String) |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the scope. |
java.lang.String |
toString()
Returns the name of the scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CacheStrategy MANUAL
FileObject.refresh()
to refresh the object data.
public static final CacheStrategy ON_RESOLVE
FileSystemManager.resolveFile(java.lang.String)
public static final CacheStrategy ON_CALL
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |