public class Token extends Object
| Constructor and Description |
|---|
Token()
Create a new instance of
Token |
Token(Integer timeToLive,
Integer countToLive)
Create a new instance of
Token |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCountToLive()
Returns the token's count to live.
|
Integer |
getTimeToLive()
Returns token's time to live.
|
void |
setCountToLive(Integer countToLive)
Sets the token's count to live.
|
void |
setTimeToLive(Integer timeToLive)
Sets the token's time to live.
|
public Integer getTimeToLive()
public void setTimeToLive(Integer timeToLive)
timeToLive - the token's time to live.public Integer getCountToLive()
public void setCountToLive(Integer countToLive)
countToLive - the token's count to live.Copyright © 2016. All rights reserved.