|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.pool.impl.enhanced.internal.resizer.impl.shared.SharedResizer<S>
S - statistics typepublic class SharedResizer<S>
| Constructor Summary | |
|---|---|
SharedResizer(ISharedManager sharedManager,
IResizer<S> resizer)
|
|
| Method Summary | |
|---|---|
void |
prepareUpdate(S stats)
Prepare an update (calculate next value of expectedSize). |
void |
setResizable(IResizable resizable)
Resizer will call method on it. |
void |
update()
This method grant that eventually at least one call will be made to setExpectedSize, with stats calculated by latest call to prepareUpdate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SharedResizer(ISharedManager sharedManager,
IResizer<S> resizer)
| Method Detail |
|---|
public void prepareUpdate(S stats)
IResizer
prepareUpdate in interface IResizer<S>stats - statisticspublic void setResizable(IResizable resizable)
IResizer
setResizable in interface IResizer<S>resizable - a resizablepublic void update()
IResizer
update in interface IResizer<S>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||