net.sf.sparql.benchmarking.parallel
Class AbstractParallelClient<T extends Options>

java.lang.Object
  extended by 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

Constructor Summary
AbstractParallelClient(ParallelClientManager<T> manager, int id)
          Creates a new Parallel Client
 
Method Summary
 int getID()
          Gets the ID of this client
 ParallelClientManager<T> getManager()
          Gets the parallel client manager which is managing this client
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.sparql.benchmarking.parallel.ParallelClient
call
 

Constructor Detail

AbstractParallelClient

public AbstractParallelClient(ParallelClientManager<T> manager,
                              int id)
Creates a new Parallel Client

Parameters:
manager - Client Manager
id - Client ID
Method Detail

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.