public class TtlUtils extends Object
| Constructor and Description |
|---|
TtlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getTtlLong(String strTtl)
Converts a duration string to a long ms value
|
static String |
toTtlStr(long ttl)
The Time to live is defined as the amount of time for which deploy is considered valid.
|
public static long getTtlLong(String strTtl)
strTtl - the string to convertpublic static String toTtlStr(long ttl)
ttl - the time to live in msCopyright © 2022. All rights reserved.