public class ExpiringMap.Expirer
extends java.lang.Object
implements java.lang.Runnable
构造器和说明 |
---|
ExpiringMap.Expirer() |
限定符和类型 | 方法和说明 |
---|---|
int |
getExpirationInterval() |
int |
getTimeToLive() |
boolean |
isRunning() |
void |
run() |
void |
setExpirationInterval(long expirationInterval) |
void |
setTimeToLive(long timeToLive) |
void |
startExpiring() |
void |
startExpiringIfNotStarted() |
void |
stopExpiring() |
public void run()
run
在接口中 java.lang.Runnable
public void startExpiring()
public void startExpiringIfNotStarted()
public void stopExpiring()
public boolean isRunning()
public int getTimeToLive()
public void setTimeToLive(long timeToLive)
public int getExpirationInterval()
public void setExpirationInterval(long expirationInterval)