public static class WindowConfig.Duration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
value |
Constructor and Description |
---|
Duration(long value,
java.util.concurrent.TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
static WindowConfig.Duration |
days(long days) |
static WindowConfig.Duration |
hours(long hours) |
static WindowConfig.Duration |
minutes(long minutes) |
static WindowConfig.Duration |
of(long milliseconds) |
static WindowConfig.Duration |
seconds(long seconds) |
java.lang.String |
toString() |
public static WindowConfig.Duration of(long milliseconds)
public static WindowConfig.Duration days(long days)
public static WindowConfig.Duration hours(long hours)
public static WindowConfig.Duration minutes(long minutes)
public static WindowConfig.Duration seconds(long seconds)
public java.lang.String toString()
toString
in class java.lang.Object