Homological criteria for finiteness