public Snapshot newTemporarySnapshot ( long index , WallClockTimestamp timestamp ) { SnapshotDescriptor descriptor = SnapshotDescriptor . builder ( ) . withIndex ( index ) . withTimestamp ( timestamp . unixTimestamp ( ) ) . build ( ) ; return newSnapshot ( descriptor , StorageLevel . MEMORY ) ; }
Creates a temporary in - memory snapshot .