Class KeepOnlyLastCommitDeletionPolicy

  • All Implemented Interfaces:
    IndexDeletionPolicy

    public final class KeepOnlyLastCommitDeletionPolicy
    extends Object
    implements IndexDeletionPolicy
    This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done. This is the default deletion policy.
    • Constructor Detail

      • KeepOnlyLastCommitDeletionPolicy

        public KeepOnlyLastCommitDeletionPolicy()