|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.util.TimeoutAbstractObject
public abstract class TimeoutAbstractObject
This class defines the default implementation of TimeoutCapable, providing the default behavior for an object that is capable of timing out where that time out mechanism is managed by TimeoutManager.
| Constructor Summary | |
|---|---|
TimeoutAbstractObject()
|
|
| Method Summary | |
|---|---|
void |
cancelTimeout()
Revoke the timeout task, removing it from future evaluation and execution. |
long |
getLastUse()
Determine the timestamp of this object's last use, where "last use" should denote all tasks that eliminate idleness. |
edu.emory.mathcs.backport.java.util.concurrent.Future |
getTimeoutFuture()
|
TimeoutManager |
getTimeoutManager()
|
long |
getTimeoutPeriod()
Determine the time, in milliseconds, that this object is allowed to idle before having its timeout method invoked. |
Runnable |
getTimeoutTask()
|
void |
setLastUse(long lastUse)
|
void |
setTimeoutFuture(edu.emory.mathcs.backport.java.util.concurrent.Future timeoutFuture)
Set the Future used to provide access to the Runnable task that invokes the timeout method. |
void |
setTimeoutManager(TimeoutManager timeoutManager)
|
void |
setTimeoutPeriod(long timeoutPeriod)
|
void |
setTimeoutTask(Runnable timeoutTask)
|
void |
updateLastUse()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.messaging.util.TimeoutCapable |
|---|
timeout |
| Constructor Detail |
|---|
public TimeoutAbstractObject()
| Method Detail |
|---|
public void cancelTimeout()
TimeoutCapable
cancelTimeout in interface TimeoutCapablepublic long getLastUse()
TimeoutCapable
getLastUse in interface TimeoutCapablepublic void setLastUse(long lastUse)
public void updateLastUse()
public TimeoutManager getTimeoutManager()
public void setTimeoutManager(TimeoutManager timeoutManager)
public Runnable getTimeoutTask()
public void setTimeoutTask(Runnable timeoutTask)
public edu.emory.mathcs.backport.java.util.concurrent.Future getTimeoutFuture()
public void setTimeoutFuture(edu.emory.mathcs.backport.java.util.concurrent.Future timeoutFuture)
TimeoutCapable
setTimeoutFuture in interface TimeoutCapablepublic long getTimeoutPeriod()
TimeoutCapable
getTimeoutPeriod in interface TimeoutCapablepublic void setTimeoutPeriod(long timeoutPeriod)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/util/TimeoutAbstractObject.html