Class TimestampBound (2.22.0)

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
Name Description
arg0 long
arg1 TimeUnit
Returns
Type Description
TimestampBound

ofMaxStaleness(long arg0, TimeUnit arg1)

public static TimestampBound ofMaxStaleness(long arg0, TimeUnit arg1)
Parameters
Name Description
arg0 long
arg1 TimeUnit
Returns
Type Description
TimestampBound

ofMinReadTimestamp(Timestamp arg0)

public static TimestampBound ofMinReadTimestamp(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
TimestampBound

ofReadTimestamp(Timestamp arg0)

public static TimestampBound ofReadTimestamp(Timestamp arg0)
Parameter
Name Description
arg0 com.google.cloud.Timestamp
Returns
Type Description
TimestampBound

strong()

public static TimestampBound strong()
Returns
Type Description
TimestampBound

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getExactStaleness(TimeUnit arg0)

public long getExactStaleness(TimeUnit arg0)
Parameter
Name Description
arg0 TimeUnit
Returns
Type Description
long

getMaxStaleness(TimeUnit arg0)

public long getMaxStaleness(TimeUnit arg0)
Parameter
Name Description
arg0 TimeUnit
Returns
Type Description
long

getMinReadTimestamp()

public Timestamp getMinReadTimestamp()
Returns
Type Description
com.google.cloud.Timestamp

getMode()

public TimestampBound.Mode getMode()
Returns
Type Description
Mode

getReadTimestamp()

public Timestamp getReadTimestamp()
Returns
Type Description
com.google.cloud.Timestamp

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides