Project

General

Profile

« Previous | Next » 

Revision 7810

adding ability to remove event from the [error] queue.

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/event/IndexEventFileLog.java
23 23

  
24 24
import java.io.File;
25 25
import java.io.FileNotFoundException;
26
import java.io.FileOutputStream;
27 26
import java.io.IOException;
28 27
import java.text.DateFormat;
29 28
import java.text.ParseException;
......
33 32
import java.util.Vector;
34 33

  
35 34
import org.apache.commons.io.FileUtils;
36
import org.apache.commons.io.IOUtils;
37 35
import org.dataone.configuration.Settings;
38 36
import org.dataone.service.types.v1.Identifier;
39 37

  
......
183 181
           throw new IndexEventLogException("IndexEventFileLog.setLastProcessedDate - couldn't set the last processed date :", e);
184 182
        }
185 183
    }
184
    
185
	@Override
186
	public void remove(String identifier) throws IndexEventLogException {
187
		// TODO Auto-generated method stub
188
		
189
	}
186 190
}
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/event/IndexEventLog.java
41 41
     */
42 42
    public long write(IndexEvent event) throws IndexEventLogException;
43 43
    
44
    /**
45
     * Remove an IndexEvent in storage
46
     * @param identifier
47
     * @throws IndexEventLogException
48
     */
49
    public void remove(String identifier) throws IndexEventLogException;
44 50
    
51
    
45 52
    /**
46 53
     * Gets the list of IndexEvent matching the specified set of filters. The filter parameters can be null
47 54
     * @param type  the type of the event

Also available in: Unified diff