com.bigdata.service.jini.master
Interface INotifyOutcome<V,L>

Type Parameters:
V - The generic type of the resource identifier.
L - The generic type of the client locator.
All Superinterfaces:
Remote
All Known Implementing Classes:
AbstractPendingSetMasterTask, ResourceBufferTask, ResourceBufferTask.M

public interface INotifyOutcome<V,L>
extends Remote

Interface used by client tasks to notify the master about the outcome of each resource tasked to that client. The interface extends Remote since it is invoked from the client tasks against a proxy for the master.

Version:
$Id$
Author:
Bryan Thompson
See Also:
IAsynchronousClientTask

Method Summary
 void error(V resource, L locator, Throwable t)
          Invoked each time a client tasks encounters an error when processing some resource.
 void success(V resource, L locator)
          Invoked each time a client tasks completes processing for some resource.
 

Method Detail

success

void success(V resource,
             L locator)
             throws RemoteException
Invoked each time a client tasks completes processing for some resource.

Parameters:
resource - The resource identifier.
locator - The client locator.
Throws:
RemoteException

error

void error(V resource,
           L locator,
           Throwable t)
           throws RemoteException
Invoked each time a client tasks encounters an error when processing some resource.

Parameters:
resource - The resource identifier.
locator - The client locator.
t - The exception.
Throws:
RemoteException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.