net.sf.sparql.benchmarking.parallel
Interface ParallelClient<T extends Options>

Type Parameters:
T - Options type
All Superinterfaces:
Callable<Object>
All Known Implementing Classes:
AbstractParallelClient, DefaultParallelClient

public interface ParallelClient<T extends Options>
extends Callable<Object>

Interface for parallel clients

Author:
rvesse

Method Summary
 Object call()
          Runs operation mixes while the Client Manager indicates there are still mixes to be run
 int getID()
          Gets the ID of this client
 ParallelClientManager<T> getManager()
          Gets the parallel client manager which is managing this client
 

Method Detail

getID

int getID()
Gets the ID of this client

Returns:
ID

call

Object call()
            throws Exception
Runs operation mixes while the Client Manager indicates there are still mixes to be run

Specified by:
call in interface Callable<Object>
Throws:
Exception

getManager

ParallelClientManager<T> getManager()
Gets the parallel client manager which is managing this client

Returns:
Parallel client manager


Copyright © 2014. All Rights Reserved.