public abstract class SocketIOSessionActivityMonitor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
delay |
protected java.util.concurrent.ScheduledExecutorService |
executor |
protected java.util.concurrent.ScheduledFuture<java.lang.Boolean> |
future |
protected java.util.concurrent.TimeUnit |
timeUnit |
| Constructor and Description |
|---|
SocketIOSessionActivityMonitor(java.util.concurrent.ScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
abstract java.util.concurrent.Callable<java.lang.Boolean> |
getCommand() |
long |
getDelay() |
java.util.concurrent.TimeUnit |
getTimeUnit() |
void |
setDelay(long delay) |
void |
setTimeUnit(java.util.concurrent.TimeUnit timeUnit) |
void |
start() |
protected java.util.concurrent.ScheduledExecutorService executor
protected java.util.concurrent.ScheduledFuture<java.lang.Boolean> future
protected long delay
protected java.util.concurrent.TimeUnit timeUnit
public SocketIOSessionActivityMonitor(java.util.concurrent.ScheduledExecutorService executor)
public long getDelay()
public void setDelay(long delay)
public java.util.concurrent.TimeUnit getTimeUnit()
public void setTimeUnit(java.util.concurrent.TimeUnit timeUnit)
public abstract java.util.concurrent.Callable<java.lang.Boolean> getCommand()
public void start()
public void cancel()
Copyright © 2020. All Rights Reserved.