thredds.inventory
Enum CollectionUpdater
java.lang.Object
java.lang.Enum<CollectionUpdater>
thredds.inventory.CollectionUpdater
- All Implemented Interfaces:
- Serializable, Comparable<CollectionUpdater>
@ThreadSafe
public enum CollectionUpdater
- extends Enum<CollectionUpdater>
Handle background tasks that rescan and reset proto, for collections.
Singleton, thread safe.
- Since:
- Nov 21, 2010
- Author:
- caron
INSTANCE
public static final CollectionUpdater INSTANCE
values
public static CollectionUpdater[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CollectionUpdater c : CollectionUpdater.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CollectionUpdater valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getScheduler
public org.quartz.Scheduler getScheduler()
scheduleTasks
public void scheduleTasks(FeatureCollectionConfig config,
CollectionManager manager)
shutdown
public void shutdown()
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.