Package org.aksw.iguana.cc.tasks
Interface Task
-
- All Known Implementing Classes:
AbstractTask
,Stresstest
public interface Task
A simple Task to execute- Author:
- f.conrads
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMetaData()
Will add the Meta data for the start which then can be saved into the triple based storagesvoid
close()
Will close the Task and post process everything (e.g.void
execute()
Will execute the Taskvoid
init(java.lang.String[] ids, java.lang.String dataset, Connection con)
Will initialize the taskvoid
sendResults(java.util.Properties data)
Will send the results to the result processing.void
start()
Will start the Task (sending the rabbitMQ start flag)
-
-
-
Method Detail
-
execute
void execute()
Will execute the Task
-
start
void start()
Will start the Task (sending the rabbitMQ start flag)
-
sendResults
void sendResults(java.util.Properties data) throws java.io.IOException
Will send the results to the result processing.- Parameters:
data
-- Throws:
java.io.IOException
-
close
void close()
Will close the Task and post process everything (e.g. send the end flag to the rabbit mq queue)
-
addMetaData
void addMetaData()
Will add the Meta data for the start which then can be saved into the triple based storages
-
init
void init(java.lang.String[] ids, java.lang.String dataset, Connection con)
Will initialize the task- Parameters:
ids
- normally the suiteID, experimentID, taskIDdataset
- the dataset namecon
- the current connection to execute the task against
-
-