Class DeletionTime.InvalidDeletionTime

java.lang.Object
org.apache.cassandra.db.DeletionTime
org.apache.cassandra.db.DeletionTime.InvalidDeletionTime
All Implemented Interfaces:
Comparable<DeletionTime>, IMeasurableMemory
Enclosing class:
DeletionTime

public static class DeletionTime.InvalidDeletionTime extends DeletionTime
  • Method Details

    • localDeletionTime

      public long localDeletionTime()
      Description copied from class: DeletionTime
      The local server timestamp, in seconds since the unix epoch, at which this tombstone was created. This is only used for purposes of purging the tombstone after gc_grace_seconds have elapsed.
      Overrides:
      localDeletionTime in class DeletionTime
    • validate

      public boolean validate()
      Description copied from class: DeletionTime
      Check if this deletion time is valid. This is always true, because - as we permit negative timestamps, markedForDeleteAt can be negative. - localDeletionTime is stored as an unsigned int and cannot be negative.
      Overrides:
      validate in class DeletionTime
      Returns:
      true if it is valid