com.trendmicro.grid.acl.ds
Interface ProcessingResultReceiver

All Superinterfaces:
Repository

public interface ProcessingResultReceiver
extends Repository

Implements an interface to a receiver for processing results.

Version:
1.0
Author:
juergen_kellerer, 2010-05-18

Method Summary
 void checkpoint()
          Ensures that all ProcessPackageDataSet have been successfully written to the persistence store.
 void receive(Collection<com.trendmicro.grid.acl.l0.datatypes.ProcessPackageDataSet> dataSet)
          Recevies the results of a processing run on a certain package.
 

Method Detail

receive

void receive(Collection<com.trendmicro.grid.acl.l0.datatypes.ProcessPackageDataSet> dataSet)
Recevies the results of a processing run on a certain package.

Implementation Note: The implementation behind this interface must ensure that it does not matter how many times that same information is sent against this interface. Further the method may not return if no guarantee can be made that all data was successfully updated.

Parameters:
dataSet - the data set containing the package information.

checkpoint

void checkpoint()
Ensures that all ProcessPackageDataSet have been successfully written to the persistence store.

This method must not return before all data is written.