|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Bundler
This is the interface of all strategies for defining bundle task size. A Bundler defines the current bundle size using different algorithms, depending on the implementation.
| Method Summary | |
|---|---|
Bundler |
copy()
Make a copy of this bundler. |
void |
dispose()
Release the resources used by this bundler. |
void |
feedback(int nbTasks,
double totalTime)
Feedback the bundler with the result of using the bundle with the specified size. |
int |
getBundleSize()
Get the current size of bundle. |
LoadBalancingProfile |
getProfile()
Get the parameters profile used by this load-balancer. |
long |
getTimestamp()
Get the timestamp at which this bundler was created. |
void |
setup()
Perform context-independant initializations. |
| Method Detail |
|---|
int getBundleSize()
void feedback(int nbTasks,
double totalTime)
nbTasks - number of tasks that were executed.totalTime - the total execution and transport time.Bundler copy()
Bundler instance.long getTimestamp()
void dispose()
void setup()
LoadBalancingProfile getProfile()
LoadBalancingProfile.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||