thredds.filesystem
Class ControllerCaching

java.lang.Object
  extended by thredds.filesystem.ControllerCaching
All Implemented Interfaces:
MController

@ThreadSafe
public class ControllerCaching
extends Object
implements MController

Implements an MController using a CacheManager.

Since:
Jun 25, 2009
Author:
caron

Method Summary
 void close()
           
 Iterator<MFile> getInventory(MCollection mc)
           
 Iterator<MFile> getInventory(MCollection mc, boolean recheck)
           
 Iterator<MFile> getInventoryNoSubdirs(MCollection mc)
           
 Iterator<MFile> getInventoryNoSubdirs(MCollection mc, boolean recheck)
           
static MController makeStandardController(String configFile, String cacheDir)
           
static MController makeTestController(String cacheDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeStandardController

public static MController makeStandardController(String configFile,
                                                 String cacheDir)
                                          throws IOException
Throws:
IOException

makeTestController

public static MController makeTestController(String cacheDir)

getInventory

public Iterator<MFile> getInventory(MCollection mc)
Specified by:
getInventory in interface MController

getInventoryNoSubdirs

public Iterator<MFile> getInventoryNoSubdirs(MCollection mc)
Specified by:
getInventoryNoSubdirs in interface MController

getInventory

public Iterator<MFile> getInventory(MCollection mc,
                                    boolean recheck)
Specified by:
getInventory in interface MController

getInventoryNoSubdirs

public Iterator<MFile> getInventoryNoSubdirs(MCollection mc,
                                             boolean recheck)
Specified by:
getInventoryNoSubdirs in interface MController

close

public void close()
Specified by:
close in interface MController


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.