Uses of Class
oracle.kv.table.TimeToLive
Packages that use TimeToLive
-
Uses of TimeToLive in oracle.kv.table
Fields in oracle.kv.table declared as TimeToLiveModifier and TypeFieldDescriptionstatic final 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 TimeToLiveModifier and TypeMethodDescriptionstatic TimeToLiveTimeToLive.fromExpirationTime(long expirationTime, long referenceTime) Returns an instance of TimeToLive based on an absolute expiration time and a reference time.Table.getDefaultTTL()Returns the default TimeToLive for the table or null if not set.Row.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 TimeToLiveModifier and TypeMethodDescriptionstatic 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.