|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tomgibara.pronto.control.impl.FileControllerPart<S,L,P>
S - the type of stateL - the type of labelP - the type of parameterpublic class FileControllerPart<S,L,P>
A ControllerPart implementation that provides functionality for the FileControllerSettings interface.
| Constructor Summary | |
|---|---|
FileControllerPart(ControllerImpl<S,L,P> controller,
FileControllerSettings settings)
Creates a new FileControllerPart. |
|
| Method Summary | |
|---|---|
ControllerImpl<S,L,P> |
getController()
The controller of which this is part. |
void |
start()
Uses the shared pronto executor to schedule periodic file checks. |
boolean |
stop(long timeout)
Requests that the Pronto executor stops any future file checks and then waits (subject to the supplied timeout) until the ceasation of any ongoing checking has been confirmed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileControllerPart(ControllerImpl<S,L,P> controller,
FileControllerSettings settings)
controller - the controller that aggregates this partsettings - the settings for this part| Method Detail |
|---|
public void start()
public boolean stop(long timeout)
timeout - the (approx.) number of milliseconds for which a call to the
method will block, or 0L.
public ControllerImpl<S,L,P> getController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||