Changeset 1046 for raptor-client


Ignore:
Timestamp:
07/19/11 11:19:25 (9 years ago)
Author:
philsmart
Message:
 
Location:
raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store/IncrementalEventHandler.java

    r1045 r1046  
    3131 
    3232 
    33 public interface IncrementalEntryHandler { 
     33public interface IncrementalEventHandler { 
    3434 
    3535        /** 
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store/StoreEntriesPipelineTask.java

    r1043 r1046  
    1717 * 
    1818 */ 
     19 
    1920package uk.ac.cardiff.raptor.store; 
    2021 
     
    5152    private List<Event> events; 
    5253 
    53     public StoreEntriesPipelineTask(EventHandler entryHandler, AttributeAssociationEngine attributeAssociationEngine, List<Event> events, StoreEntriesTaskCallbackInterface storeCallback) { 
     54    public StoreEntriesPipelineTask(EventHandler entryHandler, AttributeAssociationEngine attributeAssociationEngine, 
     55            List<Event> events, StoreEntriesTaskCallbackInterface storeCallback) { 
    5456        this.storeCallback = storeCallback; 
    5557        this.attributeAssociationEngine = attributeAssociationEngine; 
     
    5961 
    6062    /** 
    61      * Called to perform both attribute association using the {@link uk.ac.cardiff.raptor.event.expansion.AttributeAssociationEngine} and then 
    62      * store the <code>events</code> using the {@link  uk.ac.cardiff.raptor.store.EventHandler}. 
     63     * Called to perform both attribute association using the 
     64     * {@link uk.ac.cardiff.raptor.event.expansion.AttributeAssociationEngine} and then store the <code>events</code> 
     65     * using the {@link uk.ac.cardiff.raptor.store.EventHandler}. 
    6366     */ 
    6467    public Boolean call() throws Exception { 
     
    7679 
    7780    /** 
    78      * Stores the <code>events</code> with the configured {@link  uk.ac.cardiff.raptor.store.EventHandler} 
     81     * Stores the <code>events</code> with the configured {@link uk.ac.cardiff.raptor.store.EventHandler} 
    7982     *  
    8083     * @throws StorageException 
     
    8487    } 
    8588 
     89    /** 
     90     * Processes the set <code>events</code> through the 
     91     * {@link uk.ac.cardiff.raptor.event.expansion.AttributeAssociationEngine} 
     92     */ 
    8693    private void associate() { 
    8794        try { 
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store/dao/DefaultDataConnection.java

    r1043 r1046  
    1414 * limitations under the License. 
    1515 */ 
     16 
    1617package uk.ac.cardiff.raptor.store.dao; 
    1718 
     
    4142    private HibernateTemplate hibernateTemplate; 
    4243 
     44    @SuppressWarnings("unused") 
    4345    private SessionFactory sessionFactory; 
    4446 
     
    9294        }); 
    9395    } 
    94      
     96 
    9597    public Object runQueryUnique(String query, Object[] parameters) throws DataAccessException { 
    9698        if (parameters != null) 
     
    113115    } 
    114116 
    115  
    116117    @SuppressWarnings("rawtypes") 
    117118    @Override 
  • raptor-client/trunk/src/main/java/uk/ac/cardiff/raptor/store/impl/LogFileMemoryEventHandler.java

    r1043 r1046  
    3131import uk.ac.cardiff.model.event.Event; 
    3232import uk.ac.cardiff.raptor.runtimeutils.ReflectionHelper; 
    33 import uk.ac.cardiff.raptor.store.IncrementalEntryHandler; 
     33import uk.ac.cardiff.raptor.store.IncrementalEventHandler; 
    3434 
    3535import org.joda.time.DateTime; 
     
    3737import org.slf4j.LoggerFactory; 
    3838 
    39 public class LogFileMemoryEventHandler implements IncrementalEntryHandler { 
     39public class LogFileMemoryEventHandler implements IncrementalEventHandler { 
    4040 
    4141        /** Class logger */ 
Note: See TracChangeset for help on using the changeset viewer.