net.sf.sparql.benchmarking.parallel
Class AbstractParallelClient<T extends Options>
java.lang.Object
net.sf.sparql.benchmarking.parallel.AbstractParallelClient<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<Object>, ParallelClient<T>
- Direct Known Subclasses:
- DefaultParallelClient
public abstract class AbstractParallelClient<T extends Options>
- extends Object
- implements ParallelClient<T>
Abstract implementation of a parallel client
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParallelClient
public AbstractParallelClient(ParallelClientManager<T> manager,
int id)
- Creates a new Parallel Client
- Parameters:
manager
- Client Managerid
- Client ID
getID
public int getID()
- Description copied from interface:
ParallelClient
- Gets the ID of this client
- Specified by:
getID
in interface ParallelClient<T extends Options>
- Returns:
- ID
getManager
public ParallelClientManager<T> getManager()
- Description copied from interface:
ParallelClient
- Gets the parallel client manager which is managing this client
- Specified by:
getManager
in interface ParallelClient<T extends Options>
- Returns:
- Parallel client manager
Copyright © 2014. All Rights Reserved.