List of usage examples for org.apache.commons.vfs CacheStrategy ON_CALL
CacheStrategy ON_CALL
To view the source code for org.apache.commons.vfs CacheStrategy ON_CALL.
Click Source Link
From source file:org.jboss.dashboard.filesystem.VfsWrapper.java
public static StandardFileSystemManager getManager() { if (instance == null) { instance = new StandardFileSystemManager(); try {/* w ww . ja v a 2 s .c o m*/ instance.setCacheStrategy(CacheStrategy.ON_CALL); instance.init(); } catch (Exception e) { log.error("Error: ", e); } } return instance; }