public class BatchManager extends Object
| Constructor and Description | 
|---|
BatchManager(RegistryClient client)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cache(RegistryObject object,
     String datasetId,
     boolean version)
Caches the given RegistryObject for future registration. 
 | 
int | 
getCacheSize()  | 
RegistryClient | 
getRegistryClient()  | 
void | 
ingest()
Ingests all products that have been cached. 
 | 
public BatchManager(RegistryClient client)
client - A RegistryClient object.public void cache(RegistryObject object, String datasetId, boolean version)
object - The RegistryObject to ingest.datasetId - The datasetId associated with the given RegistryObject.version - Flag to indicate whether to version the object.public int getCacheSize()
public RegistryClient getRegistryClient()
public void ingest()
Copyright © 2010–2018 Planetary Data System. All rights reserved.