thredds.filesystem
Class ControllerOS

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

@ThreadSafe
public class ControllerOS
extends Object
implements MController

Implements an MController without caching, reading from OS each time. recheck is ignored (always true)

Since:
Jun 25, 2009
Author:
caron

Constructor Summary
ControllerOS()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerOS

public ControllerOS()
Method Detail

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.