com.bigdata.service
Class DataServiceCallable<T>

java.lang.Object
  extended by com.bigdata.service.FederationCallable<T>
      extended by com.bigdata.service.DataServiceCallable<T>
All Implemented Interfaces:
IDataServiceCallable, IFederationCallable, Serializable, Callable<T>
Direct Known Subclasses:
AbstractClientTask, AbstractStepTask, DumpFederation.FetchIndexPartitionByteCountRecordTask, JoinTaskFactoryTask, ListIndicesTask, MoveTask.ReceiveIndexPartitionTask, ProgramTask

public abstract class DataServiceCallable<T>
extends FederationCallable<T>
implements IDataServiceCallable

Base class for IDataServiceCallable.

Version:
$Id: DataServiceCallable.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
DataServiceCallable()
          Deserialization ctor.
 
Method Summary
 DataService getDataService()
          Return the DataService.
 boolean isDataService()
          Return true iff the DataService reference has been set.
 void setDataService(DataService dataService)
          Sets the DataService reference and the IBigdataFederation reference (if not already set).
 
Methods inherited from class com.bigdata.service.FederationCallable
getFederation, setFederation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bigdata.service.IFederationCallable
getFederation, setFederation
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Constructor Detail

DataServiceCallable

public DataServiceCallable()
Deserialization ctor.

Method Detail

setDataService

public void setDataService(DataService dataService)
Sets the DataService reference and the IBigdataFederation reference (if not already set).

Specified by:
setDataService in interface IDataServiceCallable
Parameters:
dataService - The data service.

getDataService

public DataService getDataService()
Description copied from interface: IDataServiceCallable
Return the DataService.

Specified by:
getDataService in interface IDataServiceCallable
Returns:
The data service and never null.

isDataService

public boolean isDataService()
Return true iff the DataService reference has been set.



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