public class RemoveTimeoutSessionTask
extends java.lang.Object
implements java.util.concurrent.Delayed, java.lang.Runnable
构造器和说明 |
---|
RemoveTimeoutSessionTask(java.lang.String sessionID,
long delayTime) |
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(java.util.concurrent.Delayed delayed) |
long |
getDelay(java.util.concurrent.TimeUnit unit) |
long |
getExecuteTime() |
void |
run() |
public RemoveTimeoutSessionTask(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 long getExecuteTime()
public void run()
run
在接口中 java.lang.Runnable