|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataServiceCallable
Interface for procedures that require access to the IDataService and
or the federation.
IFederationCallableIDataService API and metrics collection further. The
implementations would have to be distinct from
RegisterIndexTask and DropIndexTask since those extend
AbstractTask - that class does not implement
IIndexProcedure and can not be sent across the wire.| Method Summary | |
|---|---|
DataService |
getDataService()
Return the DataService. |
void |
setDataService(DataService dataService)
Invoked before the task is executed to provide a reference to the IDataService on which it is executing. |
| Methods inherited from interface com.bigdata.service.IFederationCallable |
|---|
getFederation, setFederation |
| Method Detail |
|---|
void setDataService(DataService dataService)
IDataService on which it is executing. This method is also
responsible for setting the IBigdataFederation reference using
IFederationCallable.setFederation(IBigdataFederation).
dataService - The data service.
IllegalArgumentException - if the argument is null
IllegalStateException - if setDataService(DataService) has already been
invoked and was set with a different value.DataService getDataService()
DataService.
null.
IllegalStateException - if setDataService(DataService) has not been invoked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||