Struct TTL
TTL encapsulate ttl for single cache item
1. use default - _ttl = 0
2. no ttl - _ttl = -1
3. some value - _ttl > 0
Constructors
Name | Description |
this
|
/ Constructor
/ Parameters:
/ v - ttl value (0 - use default value or no ttl if there is no defaults)
|
Methods
Name | Description |
opUnary
|
Create "no ttl" - means do not use ttl with this entry
|
useDefault
|
True if this TTL means - use default value for this cache
|
value
|
return value encapsulated by this ttl
|