public class IndexTaskGenerator extends Object
Constructor and Description |
---|
IndexTaskGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the some underneath connections
|
org.dataone.cn.index.task.IndexTask |
processSystemMetaDataAdd(org.dataone.service.types.v2.SystemMetadata smd,
String objectPath)
Call when system metadata add events are detected, to trigger new
IndexTask instance generation.
|
org.dataone.cn.index.task.IndexTask |
processSystemMetaDataDelete(org.dataone.service.types.v2.SystemMetadata smd)
Call when system metadata remove events are detected, to trigger new
IndexTask instance generation to represent the removal of an item from the index.
|
org.dataone.cn.index.task.IndexTask |
processSystemMetaDataUpdate(org.dataone.service.types.v2.SystemMetadata smd,
String objectPath)
Call when system metadata update events are detected, to trigger new
IndexTask instance generation.
|
public org.dataone.cn.index.task.IndexTask processSystemMetaDataAdd(org.dataone.service.types.v2.SystemMetadata smd, String objectPath)
SystemMetadata
- public org.dataone.cn.index.task.IndexTask processSystemMetaDataUpdate(org.dataone.service.types.v2.SystemMetadata smd, String objectPath)
SystemMetadata
- public org.dataone.cn.index.task.IndexTask processSystemMetaDataDelete(org.dataone.service.types.v2.SystemMetadata smd)
SystemMetadata
- public void close() throws IOException
IOException
Copyright © 2018. All rights reserved.