Class TimestampBound (2.16.1)

public final class TimestampBound implements Serializable

Inheritance

Object > TimestampBound

Implements

Serializable

Static Methods

ofExactStaleness(long arg0, TimeUnit arg1)

public static TimestampBound ofExactStaleness(long arg0, TimeUnit arg1)
Parameters
NameDescription
arg0long
arg1TimeUnit
Returns
TypeDescription
TimestampBound

ofMaxStaleness(long arg0, TimeUnit arg1)

public static TimestampBound ofMaxStaleness(long arg0, TimeUnit arg1)
Parameters
NameDescription
arg0long
arg1TimeUnit
Returns
TypeDescription
TimestampBound

ofMinReadTimestamp(Timestamp arg0)

public static TimestampBound ofMinReadTimestamp(Timestamp arg0)
Parameter
NameDescription
arg0com.google.cloud.Timestamp
Returns
TypeDescription
TimestampBound

ofReadTimestamp(Timestamp arg0)

public static TimestampBound ofReadTimestamp(Timestamp arg0)
Parameter
NameDescription
arg0com.google.cloud.Timestamp
Returns
TypeDescription
TimestampBound

strong()

public static TimestampBound strong()
Returns
TypeDescription
TimestampBound

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getExactStaleness(TimeUnit arg0)

public long getExactStaleness(TimeUnit arg0)
Parameter
NameDescription
arg0TimeUnit
Returns
TypeDescription
long

getMaxStaleness(TimeUnit arg0)

public long getMaxStaleness(TimeUnit arg0)
Parameter
NameDescription
arg0TimeUnit
Returns
TypeDescription
long

getMinReadTimestamp()

public Timestamp getMinReadTimestamp()
Returns
TypeDescription
com.google.cloud.Timestamp

getMode()

public TimestampBound.Mode getMode()
Returns
TypeDescription
Mode

getReadTimestamp()

public Timestamp getReadTimestamp()
Returns
TypeDescription
com.google.cloud.Timestamp

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides