Uses of Class
oracle.kv.table.TimeToLive
-
Packages that use TimeToLive Package Description oracle.kv.table Table support for Oracle NoSQL Database. -
-
Uses of TimeToLive in oracle.kv.table
Fields in oracle.kv.table declared as TimeToLive Modifier and Type Field Description static TimeToLiveTimeToLive. DO_NOT_EXPIREA convenience constant that can be used as an argument toRow.setTTL(oracle.kv.table.TimeToLive)to indicate that the row should not expire.Methods in oracle.kv.table that return TimeToLive Modifier and Type Method Description static TimeToLiveTimeToLive. fromExpirationTime(long expirationTime, long referenceTime)Returns an instance of TimeToLive based on an absolute expiration time and a reference time.TimeToLiveTable. getDefaultTTL()Returns the default TimeToLive for the table or null if not set.TimeToLiveRow. getTTL()Returns the time to live (TTL) value for this row or null if it has not been set by a call toRow.setTTL(oracle.kv.table.TimeToLive).static TimeToLiveTimeToLive. ofDays(long days)Creates a duration using a period of 24 hour days.static TimeToLiveTimeToLive. ofHours(long hours)Creates a duration using a period of hours.Methods in oracle.kv.table with parameters of type TimeToLive Modifier and Type Method Description static java.util.concurrent.TimeUnitTimeToLive. getTTLUnit(TimeToLive ttl)Returns the TimeUnit associated with aTimeToLive, or {TimeUnit#DAYS} if the ttl is null.static intTimeToLive. getTTLValue(TimeToLive ttl)Returns the numeric duration value associated with aTimeToLive, or 0 if the ttl is null.voidRow. setTTL(TimeToLive ttl)Sets a time to live (TTL) value for the row to be used when the row is inserted into a store.
-