public class CheckSessionTimeOutTask
extends java.lang.Object
implements java.util.concurrent.Delayed, java.lang.Runnable
构造器和说明 |
---|
CheckSessionTimeOutTask(java.lang.String sessionID,
long delayTime) |
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(java.util.concurrent.Delayed delayed) |
boolean |
equals(java.lang.Object obj) |
long |
getDelay(java.util.concurrent.TimeUnit unit) |
long |
getExecuteTime() |
java.lang.String |
getSessionID() |
int |
hashCode() |
void |
run() |
void |
setExecuteTime(long executeTime) |
public CheckSessionTimeOutTask(java.lang.String sessionID, long delayTime)
public long getDelay(java.util.concurrent.TimeUnit unit)
getDelay
在接口中 java.util.concurrent.Delayed
public int compareTo(java.util.concurrent.Delayed delayed)
compareTo
在接口中 java.lang.Comparable<java.util.concurrent.Delayed>
public void run()
run
在接口中 java.lang.Runnable
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.String getSessionID()
public long getExecuteTime()
public void setExecuteTime(long executeTime)