import com.google.common.base.Verify;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
+import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
import org.opendaylight.controller.cluster.datastore.persisted.ShardDataTreeSnapshotMetadata;
abstract @Nullable T toStapshot();
// Lifecycle events
- abstract void transactionCommitted(TransactionIdentifier txId);
+ abstract void onTransactionCommitted(TransactionIdentifier txId);
+ abstract void onHistoryClosed(LocalHistoryIdentifier historyId);
+ abstract void onHistoryPurged(LocalHistoryIdentifier historyId);
}