@FunctionalInterface public interface EntityVersionCleaner<K>
| Modifier and Type | Interface and Description |
|---|---|
static class |
EntityVersionCleaner.AgePreservingInstant |
static class |
EntityVersionCleaner.AgePreservingSystemNanoTime |
static class |
EntityVersionCleaner.AgePreservingSystemTimeMillis |
static class |
EntityVersionCleaner.AmountPreserving<K> |
| Modifier and Type | Method and Description |
|---|---|
static EntityVersionCleaner<Instant> |
AgePreservingInstant(Duration preservedAge) |
static EntityVersionCleaner<Long> |
AgePreservingSystemNanoTime(long preservedAgeNanos) |
static EntityVersionCleaner<Long> |
AgePreservingSystemTimeMillis(long preservedAgeMillis) |
static <K extends Comparable<? super K>> |
AmountPreserving(long maxPreservedVersions) |
static <K> EntityVersionCleaner<K> |
AmountPreserving(long maxPreservedVersions,
Comparator<K> comparator) |
void |
cleanVersions(XTable<K,Entity> versions) |
static <K extends Comparable<? super K>> EntityVersionCleaner<K> AmountPreserving(long maxPreservedVersions)
static <K> EntityVersionCleaner<K> AmountPreserving(long maxPreservedVersions, Comparator<K> comparator)
static EntityVersionCleaner<Long> AgePreservingSystemTimeMillis(long preservedAgeMillis)
static EntityVersionCleaner<Long> AgePreservingSystemNanoTime(long preservedAgeNanos)
static EntityVersionCleaner<Instant> AgePreservingInstant(Duration preservedAge)
Copyright © 2022 MicroStream Software. All rights reserved.